LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-22-2012, 08:06 PM   #1
crazydoc
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Reverse DNS information doesn't work


I have e-mail & DNS server in my office.

Running DNS service looks OK, but reverse DNS information cannot be seen from outside of the office.

My OS is CentOS 5.8 with default BIND package.

/etc/named.conf
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
};

zone "." IN {
type hint;
file "/etc/db.cache";
};

zone "example.com" IN {
type master;
file "/var/named/named.example.com";
};

zone "87.654.321.in-addr.arpa" {
type master;
file "/var/named/named.example.rev";
};


/var/named/named.example.com
$ORIGIN .
$TTL 86400
example.com. IN SOA ns1.example.com. root.example.com. (
2012112216 ; modified by Kevin
3600
1800
1800000
86400 )
example.com. IN A 123.456.78.90
MX 0 mail.example.com.
NS ns1.example.com.
$ORIGIN example.com.

localhost.example.com. IN A 127.0.0.1
mail.example.com. IN A 123.456.78.90
MX 0 mail
ns1.example.com. IN CNAME mail
webmail.example.com. IN CNAME mail
ftp.example.com. IN A 123.456.78.90
www.example.com. IN A 123.456.78.90
example.com. IN TXT "v=spf1 ip4:123.456.78.90 -all"

/var/named/named.example.rev
$TTL 86400
@ IN SOA ns1.example.com. root.example.com. (
2012112216 ; modified by Kevin
3600
1800
1800000
86400 )

87.654.321.in-addr.arpa. IN NS ns1.example.com.
09.87.654.321.in-addr.arpa. IN PTR mail.example.com.

------------------------------------------------
When I try 'nslookup' in the office, all looks OK.
But, I tried the same from the other network, reverse information cannot be seen.

Could anybody check my configuration and advise?

Thanks in advance.
 
Old 11-23-2012, 03:22 AM   #2
abhandari
LQ Newbie
 
Registered: Dec 2008
Location: NP
Posts: 28

Rep: Reputation: 1
Quote:
Originally Posted by crazydoc View Post
I have e-mail & DNS server in my office.

Running DNS service looks OK, but reverse DNS information cannot be seen from outside of the office.

My OS is CentOS 5.8 with default BIND package.

/etc/named.conf
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
};

zone "." IN {
type hint;
file "/etc/db.cache";
};

zone "example.com" IN {
type master;
file "/var/named/named.example.com";
};

zone "87.654.321.in-addr.arpa" {
type master;
file "/var/named/named.example.rev";
};


/var/named/named.example.com
$ORIGIN .
$TTL 86400
example.com. IN SOA ns1.example.com. root.example.com. (
2012112216 ; modified by Kevin
3600
1800
1800000
86400 )
example.com. IN A 123.456.78.90
MX 0 mail.example.com.
NS ns1.example.com.
$ORIGIN example.com.

localhost.example.com. IN A 127.0.0.1
mail.example.com. IN A 123.456.78.90
MX 0 mail
ns1.example.com. IN CNAME mail
webmail.example.com. IN CNAME mail
ftp.example.com. IN A 123.456.78.90
www.example.com. IN A 123.456.78.90
example.com. IN TXT "v=spf1 ip4:123.456.78.90 -all"

/var/named/named.example.rev
$TTL 86400
@ IN SOA ns1.example.com. root.example.com. (
2012112216 ; modified by Kevin
3600
1800
1800000
86400 )

87.654.321.in-addr.arpa. IN NS ns1.example.com.
09.87.654.321.in-addr.arpa. IN PTR mail.example.com.

------------------------------------------------
When I try 'nslookup' in the office, all looks OK.
But, I tried the same from the other network, reverse information cannot be seen.

Could anybody check my configuration and advise?

Thanks in advance.
Follow this link properly:
http://www.ispexperts.com.np/?page_id=310
My be u need to set "allow-querry <your_network>;" inside named.conf
 
1 members found this post helpful.
Old 11-23-2012, 04:19 AM   #3
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Have you been delagated to be the name server of the reverse zone by your ISP? What does "host -t ns 87.654.321.in-addr.arpa" return when executed from outside of your network? If it returns something else than the address of your DNS server (such as your ISP's DNS server) you need to ask them to either a) host your entries in their DNS server or b) delegate the zone to your DNS server.
 
1 members found this post helpful.
Old 11-23-2012, 08:17 PM   #4
crazydoc
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi r0b0,

I tried what you informed and got the other information than as I expected.
Mmm... I may need to ask my domain service provider.

Thanks a lot!.
 
  


Reply



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
DNS reverse zone delgation work in BIND8 but not BIND9 nixlayman Linux - Networking 1 04-03-2012 03:26 PM
Reverse DNS wont work SBN Linux - General 4 02-08-2011 02:30 AM
the reverse lookup query failed in the connected devices and work in the DNS itself another 1 Linux - Newbie 1 04-09-2009 02:44 PM
Reverse DNS - for email to AOL to work Swakoo Linux - General 5 01-16-2007 10:40 AM

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

All times are GMT -5. The time now is 06:15 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