Setting up of local resolver



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?

.



Relevant Pages

  • Re: Cannot get access to router on SBS server
    ... point the DNS server setting to the IP of the SBS ... calling CNetCommit::ValidateFulltimeConnectionProperties. ... Call to Reading web publishing selection returned ok. ...
    (microsoft.public.windows.server.sbs)
  • Re: Herb Martin...Global Catalog SRV record missing!
    ... Error: Root hints list has invalid root hint server: ... DNS server: 128.63.2.53 ... PTR record query for the ...
    (microsoft.public.windows.server.dns)
  • [UNIX] Hardening the BIND DNS Server
    ... Hardening the BIND DNS Server ... Your Domain Name Service is the road sign to your systems on the Internet. ...
    (Securiteam)
  • Re: NTDS Inbound neighbos removal
    ... There is no primary WINS server defined for this adapter. ... There is no secondary WINS server defined for this adapter. ... PASS - All the DNS entries for DC are registered on DNS server ... Upper Component: NWLink SPX/SPXII Protocol ...
    (microsoft.public.windows.server.active_directory)
  • RE: Server 2003 Network problems since IP address change
    ... Is there any firewall running on client or server? ... DNS server contacted refused the update request. ... zone WSW.local. ...
    (microsoft.public.windows.server.networking)