DNS/sendmail on SunOS

DNS/sendmail on SunOS

Post by Philippe LAWSO » Thu, 14 Mar 1996 04:00:00



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?

Thanks

-- Philippe Lawson

 
 
 

DNS/sendmail on SunOS

Post by Matthew McNaught » Thu, 21 Mar 1996 04:00:00


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?"

 
 
 

1. SunOS sendmail -> sendmail 8.6.9

  I have a working sendmail.cf for the sendmail delivered with Solaris
2.4. Now I wan't to use sendmail 8.6.9 instead, and I remember reading a
description how to change the Solaris sendmail.cf to work with the newer
sendmail. The problem is I forgot where I found this file...

  If anyone has any suggestions how to make the transition, I'd appreciate
if you cc it to my email address, since my news feed is kind of fucked up
right now... (Unfortunately, I'm the system administrator, so I can't
really blame anyone but our net operator...)

2. Network-wide syslog daemon

3. sendmail w/o DNS (was: sendmail on RedHat)

4. SoundBlaster Live driver and alsa-project

5. sendmail forwarding to another sendmail without DNS?

6. 3Com cards and FreeBSD

7. The DNS problem in SunOS 4.1.4

8. INIT: ld "1" respawning too fast: disabled for 5 min. ????

9. SunOS 4.1.3C NIS/DNS problems

10. DNS on SunOS 4.1.3

11. Getting SunOS 4.1 to use DNS -and- /etc/hosts (long)

12. DNS on SunOS 4.1.1

13. need help setting up DNS backup s erver and FTP on SunOS