Terry,
thanks a lot for taking the time to attack my DNS problem.
I think, however, that there's something fishy with either
my DNS setup or FreeBSD's new nsswitch configuration.
# Make your test program do a gethostbyname(), like it does.
#
# Then take the resulting IP address, and call gethos
] Here's the rub: when I start X, my window manager ctwm tries to
] determine the hostname (to assign to HOSTNAME and then m4-process the
] .ctwmrc) This causes my machine to dial out. I've used tcpdump on port
] 53 (dns) by putting this in /etc/start_if.isp1:
] /usr/sbin/tcpdump -nli isp1 -c 16 p
hello, world\n
so I thought I knew everything about DNS. Here's something that beats me.
I'm running -current as of a week or so ago, which means the resolver is
configured with /etc/nsswitch.conf (instead of /etc/host.conf which no
longer exists). I want the resolver to look in /etc/hosts and if