changeip -checkhostname
Hi !
I have an Apple Intel Xserve running 10.4.11
It is a fileserver but is also running its own DNS
I am seeing the following in the logs
Feb 2 09:07:30 fileserver servermgrd: servermgr_dns: gethostbyaddr() and reverse DNS name do not match (fileserver != fileserver.company.org.uk), various services may not function properly - use changeip to repair and/or correct DNS
However if run
changeip -checkhostname
dig -x 192.168.2.11
dig fileserver.company.org.uk
(see below)
All the responses - appear to be correct -
So how can I stop these error messages without amending /etc/hostconfig which I believe you are not supposed to do.
fileserver:~ root# changeip -checkhostname
Primary address = 192.168.2.11
Current HostName = fileserver.company.org.uk
DNS HostName = fileserver.company.org.uk
The names match. There is nothing to change.
Also
fileserver:~ root# dig -x 192.168.2.11
; <<>> DiG 9.3.6-APPLE-P2 <<>> -x 192.168.2.11
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14292
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;11.2.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
11.2.168.192.in-addr.arpa. 86400 IN PTR fileserver.company.org.uk.
;; AUTHORITY SECTION:
2.168.192.in-addr.arpa. 86400 IN NS fileserver.company.org.uk.
;; ADDITIONAL SECTION:
fileserver.company.org.uk. 86400 IN A 192.168.2.11
;; Query time: 1 msec
;; SERVER: 192.168.2.11#53(192.168.2.11)
;; WHEN: Wed Feb 2 09:10:03 2011
;; MSG SIZE rcvd: 112
AND
fileserver:~ root# dig fileserver.company.org.uk
; <<>> DiG 9.3.6-APPLE-P2 <<>> fileserver.company.org.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30191
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;fileserver.company.org.uk. IN A
;; ANSWER SECTION:
fileserver.company.org.uk. 86400 IN A 192.168.2.11
;; AUTHORITY SECTION:
company.org.uk. 86400 IN NS fileserver.company.org.uk.
;; Query time: 0 msec
;; SERVER: 192.168.2.11#53(192.168.2.11)
;; WHEN: Wed Feb 2 09:10:24 2011
;; MSG SIZE rcvd: 73
I have an Apple Intel Xserve running 10.4.11
It is a fileserver but is also running its own DNS
I am seeing the following in the logs
Feb 2 09:07:30 fileserver servermgrd: servermgr_dns: gethostbyaddr() and reverse DNS name do not match (fileserver != fileserver.company.org.uk), various services may not function properly - use changeip to repair and/or correct DNS
However if run
changeip -checkhostname
dig -x 192.168.2.11
dig fileserver.company.org.uk
(see below)
All the responses - appear to be correct -
So how can I stop these error messages without amending /etc/hostconfig which I believe you are not supposed to do.
fileserver:~ root# changeip -checkhostname
Primary address = 192.168.2.11
Current HostName = fileserver.company.org.uk
DNS HostName = fileserver.company.org.uk
The names match. There is nothing to change.
Also
fileserver:~ root# dig -x 192.168.2.11
; <<>> DiG 9.3.6-APPLE-P2 <<>> -x 192.168.2.11
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14292
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;11.2.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
11.2.168.192.in-addr.arpa. 86400 IN PTR fileserver.company.org.uk.
;; AUTHORITY SECTION:
2.168.192.in-addr.arpa. 86400 IN NS fileserver.company.org.uk.
;; ADDITIONAL SECTION:
fileserver.company.org.uk. 86400 IN A 192.168.2.11
;; Query time: 1 msec
;; SERVER: 192.168.2.11#53(192.168.2.11)
;; WHEN: Wed Feb 2 09:10:03 2011
;; MSG SIZE rcvd: 112
AND
fileserver:~ root# dig fileserver.company.org.uk
; <<>> DiG 9.3.6-APPLE-P2 <<>> fileserver.company.org.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30191
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;fileserver.company.org.uk. IN A
;; ANSWER SECTION:
fileserver.company.org.uk. 86400 IN A 192.168.2.11
;; AUTHORITY SECTION:
company.org.uk. 86400 IN NS fileserver.company.org.uk.
;; Query time: 0 msec
;; SERVER: 192.168.2.11#53(192.168.2.11)
;; WHEN: Wed Feb 2 09:10:24 2011
;; MSG SIZE rcvd: 73
Xserve, Mac OS X (10.4.8), Intel and PPC systems