Setting up of local resolver
- From: Alexander Krizhanovsky <a.krizhanovsky@xxxxxxxxx>
- Date: Fri, 27 Jul 2007 07:58:47 -0700
Hi!
I have a SLES9.3 server which is connected to small network without
any DNS server. However the server has to be able to reolve its short
name or FQDN. I configured my /etc/hosts as
192.168.0.19 bld04.my-fake-domain.com bld04
/etc/nsswitch.conf and /etc/host.conf contains
hosts: files
and
order hosts
correspondingly. So I expect my local resolver uses only local files
instead of connectimg to remote DNS server, that is following command
should be successfull:
$ host `hostname`
;; connection timed out; no servers could be reached
(hostname returns correct name). But it fails. I see in tcpdump log:
bld04:~ # tcpdump -vvv -n udp -i lo
tcpdump: listening on lo, link-type EN10MB (Ethernet),
capture size 96 bytes
02:53:54.968413 IP (tos 0x0, ttl 64, id 0, offset 0, flags
[DF], length: 75) 127.0.0.1.32768 >
127.0.0.1.53: [bad udp cksum 357e!] 34876+ A? bld04.rstl-
private.ru.ibm.com. (47)
02:53:59.969851 IP (tos 0x0, ttl 64, id 1, offset 0, flags
[DF], length: 75) 127.0.0.1.32768 >
127.0.0.1.53: [bad udp cksum 357e!] 34876+ A? bld04.rstl-
private.ru.ibm.com. (47)
Why it tries to connect to DNS server, moreover to local server? What
I forgot to configure?
.
- Follow-Ups:
- Re: Setting up of local resolver
- From: Robert Harris
- Re: Setting up of local resolver
- Prev by Date: IPsec logging
- Next by Date: Re: Setting up of local resolver
- Previous by thread: IPsec logging
- Next by thread: Re: Setting up of local resolver
- Index(es):
Relevant Pages
|