Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pointing every thing at one ip

Status
Not open for further replies.
Sep 3, 2003
5
0
0
US
I need to point every domain at one ip adderss

I am running bind 9 on a redhat 9 server. We are setting this up to forward nonpaying ISP customers to this dns server, and I want the only IP adderss to be returned to be the one I specify. The only tricky part is this is also our secondary dns server, I am ready to setup views as the suspened customes receive a privite ip address 10.1.*.*, and views will be the only way to give them the global ip adderss, is there any way.


Thanks in advance

Joseph Harry
Network Administrator
 
I am just looking for why this isnt working, I am not sure exactly what I need to change.

view "payus"{
match-clients {payus;};
recursion no;

zone "*" {
type master;
file "/usr/local/bind/etc/payus.hosts";
};
};


and what exactly I have to put in the zone file.
 
$ORIGIN .
$TTL 3600 ; 1 hour

. IN SOA ns2.XXXX.net. ns2.XXXX.net. (
100 ; serial
1 ; refresh (15 minutes)
1 ; retry (10 minutes)
1 ; expire (1 day)
1 ; minimum (1 hour)
)

NS ns.ip.add.ress
* A global.point.ip.adderss
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top