[CentOS] Also Postfix-Problem

Fri Sep 1 07:33:53 UTC 2006
Timothy Kesten <centos-lst at gmx.de>

Am Freitag 01 September 2006 09:26 schrieb Andy Green:
> Timothy Kesten wrote:
> >> /etc/nsswitch.conf
> >>
> >> say?  Is there a line like this floating about in there?
> >>
> >> hosts:      files dns
> >
> > Yes, there is such line.
>
> What does
>
> host localhost
[root at main tk]# host localhost
localhost has address 127.0.0.1

> say from the commandline?  How about
>
> dig localhost
[root at main tk]# dig localhost

; <<>> DiG 9.2.4 <<>> localhost
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21763
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;localhost.                     IN      A

;; ANSWER SECTION:
localhost.              86400   IN      A       127.0.0.1

;; Query time: 48 msec
;; SERVER: 217.237.151.33#53(217.237.151.33)
;; WHEN: Fri Sep  1 09:33:13 2006
;; MSG SIZE  rcvd: 43


Timothy