Quote:
Originally Posted by uxbod Please post the following Code: cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain.com mx
dig yourdomain.com any
host `hostname` <- note backticks and not single quotes |
Thanks very much, Uxbod. Here are my results. However, the host with back-ticks didn't get executed properly - see below. I tried using another shell, with /bin/bash and /bin/dash but it didn't make any difference.
# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.131 dell-desktop.zimbdomain.com dell-desktop
========================
# 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
========================
# cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 5460
#
### END INFO
nameserver 192.168.0.100
domain zimbdomain.com
========================
# dig zimbdomain.com mx
; <<>> DiG 9.4.2 <<>> zimbdomain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37348
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; QUESTION SECTION:
;zimbdomain.com. IN MX
;; ANSWER SECTION:
zimbdomain.com. 65162 IN MX 10 mail.zimbdomain.com.
;; AUTHORITY SECTION:
zimbdomain.com. 57154 IN NS ns9.hostingcare.net.
zimbdomain.com. 57154 IN NS ns10.hostingcare.net.
;; ADDITIONAL SECTION:
mail.zimbdomain.com. 65162 IN A 70.86.109.99
ns9.hostingcare.net. 25305 IN A 70.86.109.99
ns10.hostingcare.net. 25305 IN A 70.86.109.59
;; Query time: 197 msec
;; SERVER: 192.168.0.100#53(192.168.0.100)
;; WHEN: Mon Jan 5 11:56:04 2009
;; MSG SIZE rcvd: 149
========================
# dig zimbdomain.com any
; <<>> DiG 9.4.2 <<>> zimbdomain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6618
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;zimbdomain.com. IN ANY
;; ANSWER SECTION:
zimbdomain.com. 57329 IN A 70.86.109.99
zimbdomain.com. 57329 IN NS ns9.hostingcare.net.
zimbdomain.com. 57329 IN NS ns10.hostingcare.net.
;; AUTHORITY SECTION:
zimbdomain.com. 57329 IN NS ns10.hostingcare.net.
zimbdomain.com. 57329 IN NS ns9.hostingcare.net.
;; Query time: 177 msec
;; SERVER: 192.168.0.100#53(192.168.0.100)
;; WHEN: Mon Jan 5 11:56:43 2009
;; MSG SIZE rcvd: 124
========================
# host `zimbdomain.com`
bash: zimbdomain.com: command not found
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
[-R number] [-m flag] hostname [server]
========================
# host 'zimbdomain.com'
zimbdomain.com has address 70.86.109.99
zimbdomain.com mail is handled by 10 mail.zimbdomain.com.