Wrote Philippe LAWSON <pl>:
Quote:>Hi,
>I noted a strange behavior on my DNS Server.
>It is running on SunOS 4.1.3.
>My named.boot file contain, amongst other things, the following information:
> directory /etc/named
> primary domain1.fr db.domain1
> primary xxx.xxx.xxx.in-addr.arpa db.xxx.xxx.xxx
>/etc/named/db.domain & /etc/named/db.xxx.xxx.xxx contain the all the
>addresses for the hosts within the domain.
>Nerver the less, I often have on the DNS Server console something like:
> Mar 11 11:28:45 host1 sendmail[25963]: gethostbyaddr:
> host2.domain.fr.xxx.xxx.xxx.in-addr.arpa != xxx.xxx.xxx.xxx
>Could someone explain what is happening?
What your sendmail is doing is looking up host2.domain.fr by its address, then
looking up host2.domain.fr's address to see if it matches the address it
started with. Either that, (and more likely, it seems) or looking up
host2.domain.fr by its name to get its address, and then doing a reverse lookup
on that address to see if it matches the name it started with. It looks like
your db.xxx.xxx.xxx has a line in it that goes something like this:
xxx.xxx.xxx.xxx IN PTR host2.domain.fr
when it should be
xxx.xxx.xxx.xxx IN PTR host2.domain.fr.
Notice the period. That's the whole problem, bud!
-----------------------------------------------------------------
TNC The Network Centre Ltd.
Internetworking Consultants & Service Providers
+++++++++++++++++++++++++++++++++++++++++++++++
http://www.tnc.com
Matthew McNaughton #212 - 10509 81 Avenue
High Commissioner, Edmonton, Alberta, Canada T6E 1X7
Technical Operations Voice: (403)448-1290
-----------------------------------------------------------------
"If you're so special, why aren't you dead?"