Re: Setting up of local resolver



Alexander Krizhanovsky wrote:
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

Well, "host" does DNS lookups (see "man host"). The file
"/etc/resolv.conf" will tell it which DNS server to use, otherwise it
will use a local server by default.

Robert

[snip'
.



Relevant Pages

  • Setting up of local resolver
    ... I have a SLES9.3 server which is connected to small network without ... instead of connectimg to remote DNS server, ... I see in tcpdump log: ...
    (comp.os.linux.networking)
  • 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: Restrict Dynamic Updates
    ... outlined in the article "HOW TO Configure DNS for Internet Access in ... Windows Server 2003", realizing that that was not the initial intent ... internal DNS server host external public data. ... internal DNS server that hosts your internal AD infrastructure access from ...
    (microsoft.public.windows.server.dns)