Jeff Abrahamson on 10 Apr 2005 12:46:47 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] DNS weirdness

I was getting DNS errors yesteray from exim but not from ping,
mozilla, etc.

My /etc/resolv.conf file looks like this (with the two commented lines


The two commented lines are my ISP's DNS servers.

With the two lines commented, exim -qff sent me errors like this:

  Message 1DKSQ8-0007rI-00 has been frozen.
  The sender is <>.

  The following address(es) have yet to be delivered: lookup of host "" failed in smarthost router~

With the two lines commented out, all works fine but perhaps a bit slower.

I have /etc/hosts set up a bit excessively:	localhost asterix diderot gw lothlorian

    # The following lines are desirable for IPv6 capable hosts
    # (added automatically by netbase upgrade)

    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

And each of the 192.168 machines has a copy of the 192.168 DNS
authority file.

What I want to happen on my workstation is for lookups to proceed as

    - If has authority, it should answer.
    - If it doesn't, it should ask the hosts listed in resolv.conf
    - If that doesn't work (but something does), it's ok to query root

Any idea how to fix this?

BTW, regardless of resolv.conf comments above, dig tells me that it
can't resolve "asterix" but it can resolve "" (an
internal-only name, note, it should fail for you).  Any idea why?

The 192.168 network is behind a NAT box.


 Jeff Abrahamson  <>    +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: signature.asc
Description: Digital signature

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --