
11-25-2008, 12:29 PM
|
| |
I'm stupid ... i changed the host as per your reply. Quote:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: dns files
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
~
~
~
~
| Quote:
michael@mail:~$ host `hostname`
mail.hansenx6.com has address 154.20.107.200
| Quote:
michael@mail:~$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
154.20.107.200 mail.hansenx6.com mail
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
| Quote:
michael@mail:~$ cat /etc/resolv.conf
search hansenx6.com
nameserver 75.154.133.68
nameserver 75.154.133.100
| Quote:
michael@mail:~$ dig hansenx6.com mx
; <<>> DiG 9.4.2-P2 <<>> hansenx6.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 452
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;hansenx6.com. IN MX
;; ANSWER SECTION:
hansenx6.com. 29882 IN MX 10 mail.hansenx6.com.
;; AUTHORITY SECTION:
hansenx6.com. 31092 IN NS mail.hansenx6.com.
;; ADDITIONAL SECTION:
mail.hansenx6.com. 31092 IN A 154.20.107.200
;; Query time: 9 msec
;; SERVER: 75.154.133.68#53(75.154.133.68)
;; WHEN: Tue Nov 25 11:27:25 2008
;; MSG SIZE rcvd: 81
| Quote:
michael@mail:~$ dig hansenx6.com any
; <<>> DiG 9.4.2-P2 <<>> hansenx6.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9686
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;hansenx6.com. IN ANY
;; ANSWER SECTION:
hansenx6.com. 28538 IN MX 10 mail.hansenx6.com.
hansenx6.com. 34726 IN NS mail.hansenx6.com.
;; AUTHORITY SECTION:
hansenx6.com. 34726 IN NS mail.hansenx6.com.
;; ADDITIONAL SECTION:
mail.hansenx6.com. 34726 IN A 154.20.107.200
;; Query time: 8 msec
;; SERVER: 75.154.133.68#53(75.154.133.68)
;; WHEN: Tue Nov 25 11:27:59 2008
;; MSG SIZE rcvd: 95
| Thanks
Mike |