LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-29-2010, 06:00 AM   #1
amitkush
Member
 
Registered: Jun 2003
Location: Roorkee, Uttrakhand, India
Distribution: RedHat, Ubuntu
Posts: 47

Rep: Reputation: 15
Problem with PTR Record using BIND version 9.3.3 on RHEL


I have been scratching my head whole day 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
 
Old 01-29-2010, 07:44 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
 
1 members found this post helpful.
Old 01-29-2010, 09:29 AM   #3
amitkush
Member
 
Registered: Jun 2003
Location: Roorkee, Uttrakhand, India
Distribution: RedHat, Ubuntu
Posts: 47

Original Poster
Rep: Reputation: 15
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?
 
Old 01-29-2010, 09:46 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
 
Old 01-29-2010, 10:28 AM   #5
amitkush
Member
 
Registered: Jun 2003
Location: Roorkee, Uttrakhand, India
Distribution: RedHat, Ubuntu
Posts: 47

Original Poster
Rep: Reputation: 15
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.
Attached Files
File Type: pdf APNIC - Query the APNIC Whois Database.pdf (54.2 KB, 183 views)
 
Old 01-29-2010, 10:52 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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.

Last edited by bathory; 01-29-2010 at 11:02 AM.
 
Old 01-29-2010, 10:59 AM   #7
amitkush
Member
 
Registered: Jun 2003
Location: Roorkee, Uttrakhand, India
Distribution: RedHat, Ubuntu
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic PTR record updates while updating A records in Bind haariseshu Linux - Server 1 10-04-2009 01:01 AM
DDNS record and a static PTR record mou5e Linux - Networking 2 01-22-2008 01:16 AM
PTR record OTIM Linux - Server 3 11-22-2007 12:16 PM
Creating A record and PTR record daemonkl *BSD 3 10-03-2007 04:50 PM
IPV6 BIND 9.2 PTR Record toraghun Linux - Networking 3 08-18-2005 03:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration