Home › Forums › OS X Server and Client Discussion › DNS › hostname problem
- This topic has 4 replies, 4 voices, and was last updated 20 years ago by
b_caceres.
-
AuthorPosts
-
March 16, 2005 at 4:46 pm #360980
bcaceres
ParticipantWe are trying to set up a DNS server for internal use (for subdomains and to activate OSX Server features other than AFP). Currently our DNS is handled externally and we have a static IP and a domain name.
We followed the settings laid out in Regan & White’s Visual QuickPro Guide. Our problem: when we get to the part of “checking our work,” the hostname command does not return the fully qualified domain name. Rather, the command just returns the name of the server computer alone (“server”) instead of the expected domain name (“server.domain.com”). Yet when we try the host command, the correct IP numbers appear.
Can anyone help point us in the right direction?
(Sorry for the anonymity — I’m not embarrassed! — I’ve just not gotten a login password from your server in over an hour.)
–Bob
March 16, 2005 at 9:11 pm #360983b_caceres
ParticipantWhen I use “dig -x” alone I get an “invalid option” error from the application and a list of permitted options.
When I try “dig -x 192.168.2.199” (the server’s IP) I get:
; <<>> DiG 9.2.2 <<>> -x 192.168.2.199 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 42200 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;199.2.168.192.in-addr.arpa. IN PTR ;; AUTHORITY SECTION: 168.192.in-addr.arpa. 86400 IN SOA nsdc.ba-dsg.net. dnsadmin.ba-dsg.net. 2003070101 86400 3600 604800 86400 ;; Query time: 798 msec ;; SERVER: 151.203.0.84#53(151.203.0.84)
When I try “dig -x” and the domain name I get “invalid IP address.” Same for the expected qualified domain name.
Plain old “dig” gets me:
; <<>> DiG 9.2.2 <<>> ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1769 ;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 9 ;; QUESTION SECTION: ;. IN NS ;; ANSWER SECTION: . 441157 IN NS K.ROOT-SERVERS.NET. . 441157 IN NS L.ROOT-SERVERS.NET. . 441157 IN NS M.ROOT-SERVERS.NET. . 441157 IN NS A.ROOT-SERVERS.NET. . 441157 IN NS B.ROOT-SERVERS.NET. . 441157 IN NS C.ROOT-SERVERS.NET. . 441157 IN NS D.ROOT-SERVERS.NET. . 441157 IN NS E.ROOT-SERVERS.NET. . 441157 IN NS F.ROOT-SERVERS.NET. . 441157 IN NS G.ROOT-SERVERS.NET. . 441157 IN NS H.ROOT-SERVERS.NET. . 441157 IN NS I.ROOT-SERVERS.NET. . 441157 IN NS J.ROOT-SERVERS.NET. ;; ADDITIONAL SECTION: B.ROOT-SERVERS.NET. 604696 IN A 192.228.79.201 C.ROOT-SERVERS.NET. 576626 IN A 192.33.4.12 D.ROOT-SERVERS.NET. 576626 IN A 128.8.10.90 F.ROOT-SERVERS.NET. 576627 IN A 192.5.5.241 I.ROOT-SERVERS.NET. 576627 IN A 192.36.148.17 J.ROOT-SERVERS.NET. 528233 IN A 192.58.128.30 K.ROOT-SERVERS.NET. 576626 IN A 193.0.14.129 L.ROOT-SERVERS.NET. 576542 IN A 198.32.64.12 M.ROOT-SERVERS.NET. 576626 IN A 202.12.27.33 ;; Query time: 454 msec ;; SERVER: 151.203.0.85#53(151.203.0.85)
March 24, 2005 at 2:46 pm #361077b_caceres
ParticipantThank you all for your help. Using changeip to change the hostname did the trick.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed