name -> address resolution
I'm reposting this question with answers to questions
from Alex Samad organized better. This problem
appeared after an update of Squeeze on
February 7 or 8.
Joule is a router with network access by a
dhcp configured link. dnsmasq and resolvconf
worked for months with no problem. Now the
machine doesn't resolve its own name. Other
names inside and outside the LAN are still
resolved.
peter@joule:~$ cat /etc/hostname
joule
peter@joule:~$ host joule
Host joule not found: 3(NXDOMAIN)
peter@joule:~$ host joule.invalid
Host joule.invalid not found: 3(NXDOMAIN)
peter@joule:~$ host dalton
dalton has address 142.103.107.137
This is the last message to the console at startup.
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.0.1 for ServerName
Also I wonder whether a problem with qpopper
derives from this name-address problem.
Results are the same with kernels 2.6.30-2-686
and 2.6.32-trunk-686.
Date: Tue, 16 Feb 2010 18:04:53 +1100, Alex Samad wrote,
as> I presume you are on joule and it has dnsmasq + resolvconf installed on it.
Yes.
as> can you
as> cat /etc/resolv.conf*
peter@joule:~$ cat /etc/resolv.conf*
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search pi.shawcable.net
as> kill -SIGUSR1 $(pidof dnsmasq) ; tail -n 40 /var/log/syslog | grep
dnsmas | tail -n 4
joule:/home/peter# kill -SIGUSR1 $(pidof dnsmasq) ; tail -n 40 /var/log/syslog |
grep dnsmas | tail -n 4
Feb 20 16:01:31 joule dnsmasq[2070]: queries forwarded 29, queries answered loca
lly 24
Feb 20 16:01:31 joule dnsmasq[2070]: server 64.59.160.13#53: queries sent 12, re
tried or failed 0
Feb 20 16:01:31 joule dnsmasq[2070]: server 64.59.160.15#53: queries sent 26, re
tried or failed 0
Feb 20 16:01:31 joule dnsmasq[2070]: server 64.59.144.19#53: queries sent 15, re
tried or failed 0
as> and maybe cat dnsmasq.conf
Visible here.
http://carnot.yi.org/joule.dnsmasq.conf
It's the installed default with a few comment lines added.
Any further ideas?
Thanks, ... Peter E.
--
Google "pathology workshop"
Reply to: