Pri and Secondary DNS on One box
Befor I start yes I know I should be using a second machine for the secondary
DNS but.................... I have Setup 2 ip addresses on the server one at eth0:0 and eth0:1 I can ping both from an external network. In the bind.conf I have set the following options { ........ listen-on{ 1.1.1.1 ; 1.1.1.2 } } where 1.1.1.1 and 1.1.1.2 are the two configured IP's I have set up the following in the bind.conf // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- zone "localhost" in { type master; file "/etc/bind/pri.localhost"; allow-update{none;}; }; zone "0.0.127.in-addr.arpa" in { type master; file "/etc/bind/pri.localhost.rev"; allow-update{none;}; }; zone "domain1.com.au" in { type master; file "/etc/bind/pri.domain1.com.au"; }; zone "domain2.com.au" { type master; file "/etc/bind/pri.domain2.com.au"; }; // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- the company hosting my box have set up the reverse lookups as they own the network so no .in-addr.arpa definitions other than the local host pri.domain1.com.au is as follows // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- $TTL 10800 ; $ORIGIN domain1.com.au. @ 1D IN SOA angus.domain1.com.au. hostmaster.domain1.com.au. ( 36 ; serial 3H ; refresh 15 ; retry 1w ; expire 3h ; minimum ) IN NS angus.domain1.com.au. ; IN NS murraygrey.domain1.com.au. ; IN MX 10 angus.domain1.com.au. ; IN A 1.1.1.1 ; ; server host definitions angus.domain1.com.au. IN A 1.1.1.1 ; domain1.com.au. IN A 1.1.1.1 ; murraygrey.domain1.com.au. IN A 1.1.1.2 ; ; non server domain hosts // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- When I load the zone files all seems OK however when I go to dnsstuff.com/tools/ptr.ch?ip=1.1.1.1 to check the reverse I get the following 1.1.1.1 PTR record: domain1.com.au. [TTL 3600s] [BAD: No A record] Is my config wrong or Is my Network provider configured somthing wrong |
|
RE: Pri and Secondary DNS on One box
The network is managed by my hosting company
do you mean I need a reverse zone for the IP allocated to me as the subnet is "owned" by the hosting company. The hosting company has listed the reverse lookups in their DNS. I can post the config files I have if this will help? Matt |
Read about Classless IN-ADDR.ARPA delegation in the first link above and you'll see that you most likely need to setup your reverse zone. Your ISP should have setup his DNS for the IP chunk that belongs to you. So you need to further resolve these IPs. I guess you can contact them for further assistance on how to do this.
|
All times are GMT -5. The time now is 05:52 AM. |