Reverse Zone is Not Working in Ubuntu 10.04 DNS
hai guyz,
i installed bind9 package in Ubuntu 10.04 and i configure my DNS Server (DNS server ip :192.168.1.156,one client 192.168.1.128) Configuration files i edited /etc/bind/named.conf.local zone "kitesnetwork.edu" IN { type master; file "/etc/bind/zones/kitesnetwork.edu.db"; }; zone "1.168.192.in-addr.arpa" { type master; file "/etc/bind/zones/rev.1.168.192.in-addr.arpa"; }; /etc/bind/zones/kitesnetwork.edu.db kitesnetwork.edu. IN SOA main.kitesnetwork.edu. root.kitesnetwork.edu. ( 200709131 ;serial 8H ; refresh 4H ; retry 4W ; expire 1D ; minimum ) kitesnetwork.edu. IN NS main.kitesnetwork.edu. localhost IN A 127.0.0.1 kites-rd IN A 192.168.1.128 main IN A 192.168.1.156 /etc/bind/zones/rev.1.168.192.in-addr.arpa @ IN SOA main.kitesnetwork.edu. root.kitesnetwork.edu. ( 200709131;serial 8H;refresh 4H;retry 4W;expire 1D;minimum ) IN NS main.kitesnetwork.edu. 156 IN PTR main.kitesnetwork.edu. 128 IN PTR kites-rd.kitesnetwork.edu. Output root@main:~# nslookup kites-rd.kitesnetwork.edu Server: 192.168.1.156 Address: 192.168.1.156#53 Name: kites-rd.kitesnetwork.edu Address: 192.168.1.128 root@main:~# nslookup 192.168.1.128 Server: 192.168.1.156 Address: 192.168.1.156#53 ** server can't find 128.1.168.192.in-addr.arpa: SERVFAIL pls give the answer??? |
Hi,
First of all, you should put your configuration files inside CODE tags, so they can be easily read. Regarding your zone files: 1. you miss in both of them the initial TTL Code:
$TTL 86400 Code:
$TTL 86400 Code:
named-checkzone 1.168.192.in-addr.arpa /etc/bind/zones/rev.1.168.192.in-addr.arpa |
Thanks bathory real thanks...Now it's Working forward as well as reverse Zones.one more problem
i didnot know this is problem or not if i dig kites-rd.kitesnetwork.edu in this case i got 1 query 1 answer flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 But i dig kitesnetwork.edu the output is flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 with regards Vijith P A |
Glad to see it worked.
If you want the domain kitesnetwork.edu to be resolvable, you have to give it an A record: Code:
kitesnetwork.edu. IN A 192.168.1.156 |
Thank U bathory; it;s working Fine..........
with regards Vijith P A |
All times are GMT -5. The time now is 01:31 AM. |