Problem with PTR Record using BIND version 9.3.3 on RHEL
I have been scratching my head whole day :scratch: wondering what is going on....hope someone here will help my hair!
I am using bind for DNS services on RHEL 5. The forward lookup is working fine. When I try to do a reverse lookup at the server, it shows the correct output but when I try lookup from Internet it shows something like - "mysite.com points to a.b.c.d, which has no d.c.b.a.in-addr.arpa PTR record" Here are the files: /etc/named.conf --------------- options { directory "/var/named"; statistics-file "/var/named/data/named_stats.txt"; }; controls{ inet 127.0.0.1 allow {localhost;} keys {rndckey;}; }; // Declaring reverse lookup zone // Declaration of domain name resolution view intranet { zone "mysite.com" { type master; file "/var/named/mysite.com.intranet.hosts"; }; zone "c.b.a.in-addr.arpa" { type master; file "/var/named/a.b.c.intranet.rev"; }; }; /var/named/mysite.com.intranet.hosts -------------------------------------- $ttl 38400 mysite.com. IN SOA dns.mysite.com. admin.mysite.com. ( 1247205291 10800 3600 604800 38400 ) mysite.com. IN NS dns.mysite.com. mail.mysite.com. IN A a.b.c.e mysite.com. IN MX 1 mail.mysite.com. mysite.com. IN A a.b.c.d www.mail.mysite.com. IN A a.b.c.e dns.mysite.com. IN A a.b.c.f www.mysite.com. IN CNAME mysite.com. /var/named/a.b.c.intranet.rev ---------------------------------- $ttl 38400 c.b.a.in-addr.arpa. IN SOA dns.mysite.com. root.localhost. ( 1264759594 10800 3600 604800 38400 ) c.b.a.in-addr.arpa. IN NS dns.mysite.com. d.c.b.a.in-addr.arpa. IN PTR mysite.com. e.c.b.a.in-addr.arpa. IN PTR mail.mysite.com. Kindly HELP :rolleyes: |
I guess you don't own the whole a.b.c.0/24 subnet. So you have to contact your ISP and ask to give you the delegation of the subnet chunk you own.
You can read more on this here. Regards |
Thanks! We have 16 IPs assigned from the ISP.
I went through the txt file. This has been my first time in setting up bind server & honestly speaking I could make little of this file. Does it mean that the reverse pointer I created will be over ridden by the ISP entry? Does in that case, we don't have any other option but to contact the ISP? |
You should contact your ISP and ask him to let you delegate the x.x.x.x/28 chunk you own (maybe he has already done it). He should also tell you the zone name (like 0/28.x.x.x.x.in-addr.arpa or something like that) and you should make sure to use that zone name for the reverse zone.
Regards |
1 Attachment(s)
Attached here is a whois information from APNIC server about the ip range owned by us. Does it give some info?
Sorry for troubling u again. |
Name your reverse zone 224/28.82.212.210.in-addr.arpa. (mind the trailing dot) and see if it works.
If not, ask your ISP for the exact name of the zone and tell them that your dns server will be authoritative for that zone. |
Thanks
|
All times are GMT -5. The time now is 01:04 PM. |