> 
> He said that syslog was writing locally, so there should be an entry for
> 'loghost'.
> 
> Alex
> 
> 

here are the important files:
/etc/nsswitch.conf:
hosts:      files dns

/etc/hosts
# @(#)hosts     1.24
127.0.0.1       localhost
192.168.202.10  little10
192.168.202.11  little11 little11.thebakers.cc liltyke-int loghost mailhost time
host datehost nameserver ns liltyke mail pop3 smtp
192.168.202.12  little12

little11[163]# dig +search loghost

; <<>> DiG 9.2.2-P1 <<>> +search loghost
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60746
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;loghost.thebakers.cc.          IN      A

;; ANSWER SECTION:
loghost.thebakers.cc.   3244    IN      A       192.168.202.11

;; AUTHORITY SECTION:
thebakers.cc.           3244    IN      NS      dns.bl.com.
thebakers.cc.           3244    IN      NS      dns.hamjudo.com.

;; ADDITIONAL SECTION:
dns.bl.com.             5016    IN      A       207.227.241.66

;; Query time: 35 msec
;; SERVER: 206.141.193.55#53(206.141.193.55)
;; WHEN: Thu Aug 19 14:53:20 2004
;; MSG SIZE  rcvd: 120



-- 
   __                      _     __
  /  )                    //    /  )       /         Darryl Baker
 /  / __.  __  __  __  , //    /--<  __.  /_  _  __  http://www.bl.com/~dpb
/__/_(_/|_/ (_/ (_/ (_/_</_   /___/_(_/|_/ <_</_/ (_ mailto:[EMAIL PROTECTED]
                     /
                    '

Reply via email to