LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-25-2005, 05:44 PM   #1
Sizam
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Rep: Reputation: 0
Bind and reverse lookup, something ain't right.


So I'm running RH Fedora C1 and Bind 9.2.2 and have my domain setup and working fine, BUT I can only receive email, whenever I try to send it I get 'yahoo/google/whatever rejects your connection', so I remembered that this can be because my reverse lookup isn't setup correctly. I did a dig -x <ip> and true enough, instead of reporting mydomain.com it gave the my-sub.myprovider.com domain, what have I configured incorrectly?

from named.conf:

zone "<mybackwardsip>.in-addr.arpa" IN {
type master;
file "reverse.zone";
allow-update { none; };
};

from reverse.zone:

$TTL 86400
@ 1D IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

1D IN NS @
1 PTR mydomain.net.


Any help would be _much_ appreciated.

Thnx
 
Old 04-25-2005, 06:51 PM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 30
You probably haven't configured anything wrong. With reverse lookups, your provider must delegate the SOA for your IP address to your DNS server. Good luck! Most ISP's won't delegate reverse SOA's to your DNS server, but some will make the change at their end to match the forward lookup. I know thats what I had to do with Verizon. i.e.

mail.mydomain.com = x.y.z.5 (forward queries answered from my DNS server)
x.y.z.5 = mail.mydomain.com (reverse queries answered from verizon's DNS servers)

At least they match

Also, I would suggest that you stop using your domain name @ for the SOA and NS records. These records need to be Fully Qualified Domain Names (FQDN). Example:

Code:
$TTL 86400
@ 1D IN SOA ns1.mydomain.net. root.mydomain.net. (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum

@   1D IN NS  ns1.mydomain.net.
1   1D IN PTR mail.mydomain.net.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reverse lookup question greyhammer Linux - Networking 1 01-26-2005 03:50 PM
bind reverse lookup thesnaggle Linux - Software 1 03-11-2004 06:19 PM
Bind reverse lookup Kostko Linux - Networking 2 12-07-2002 09:06 AM
reverse DNS lookup phil1076 Linux - General 1 01-22-2002 03:24 PM
Cant get a reverse lookup in BIND to work phek Linux - Networking 2 10-23-2001 12:16 PM


All times are GMT -5. The time now is 01:05 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration