- Joined
- Oct 7, 2009
- Messages
- 1
- Reaction score
- 0
- Points
- 1
Hello there,
I wonder if someone can help me out. I'm slightly tearing my hair out.
I seem not to be able to get DNS to work correctly on OSX Server 10.6 (and I had the exact same problem on 10.5 within the same network). I am running Server 10.6 on an XServe. Both DNS and DHCP are enabled. The XServe has a static IP address of 192.168.0.2. The network's Netgear router, with internet connection, has a static IP of 192.168.0.1. The rest of the IP addresses are dished out by DHCP on the XServe. This works correctly; any client machine in the network picks up its IP address from the DHCP server, and all the network information is correctly populated. Client machines thus have their IP address, default gateway, router and DNS information correctly provided by the DHCP server on the XServe.
From each client machine it looks like this:
IP: 192.168.0.x
Default Gateway: 255.255.255.0
DNS: 192.168.0.2
Router: 192.168.0.1
The XServer is the DNS server at 192.168.0.2. As I say, each client machine is aware of this. There are no other DNS servers on the network. The information configured in the DNS settings on the XServe are as follows [obviously I've replaced the real names for security reasons]:
Here is what I have in DNS, verbatim. In ZONES:
Name Type Value
0.168.192.in-addr.arpa. Reverse Zone -
192.168.0.2 Reverse Mapping server.charlieatlantic.com
charlieatlantic.lan Primary Zone -
server Machine 192.168.0.2
and in SETTINGS:
Acceptive recursive queries from the following networks:
none
Forwarder IP Addresses:
158.152.1.58
158.152.1.43
But I can't seem to get this to work. I've checked it against the Apple instructions, and a couple of online guides, but to no avail.
Firstly, if I run nslookup etc, I get NXDOMAIN responses:
nslookup charlieatlantic.lan
server:~ root# server:~ root# nslookup charlieatlantic.lan
-sh: server:~: command not found
server:~ root# ;; Got recursion not available from 192.168.0.2, trying next server
-sh: syntax error near unexpected token `;;'
server:~ root# ;; Got recursion not available from 192.168.0.2, trying next server
-sh: syntax error near unexpected token `;;'
server:~ root# Server:
.Trash/ .sh_history Documents/ Library/
.forward Desktop/ Downloads/
server:~ root# Server:192.168.0.1
-sh: Server:192.168.0.1: command not found
server:~ root# Address:192.168.0.1#53
-sh: Address:192.168.0.1#53: command not found
server:~ root#
server:~ root# ** server can't find charlieatlantic.lan: NXDOMAIN
nslookup 192.168.0.2
server:~ root# nslookup 192.168.0.2
;; Got recursion not available from 192.168.0.2, trying next server
;; Got recursion not available from 192.168.0.2, trying next server
Server: 192.168.0.1
Address: 192.168.0.1#53
** server can't find 2.0.168.192.in-addr.arpa.: NXDOMAIN
dig -x 192.168.0.2
server:~ root# dig -x 192.168.0.2
; <<>> DiG 9.6.0-APPLE-P2 <<>> -x 192.168.0.2
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49785
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;2.0.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
2.0.168.192.in-addr.arpa. 10800 IN PTR server.charlieatlantic.lan.
;; AUTHORITY SECTION:
0.168.192.in-addr.arpa. 10800 IN NS server.local.
;; Query time: 0 msec
;; SERVER: 192.168.0.2#53(192.168.0.2)
;; WHEN: Sun Oct 4 17:33:51 2009
;; MSG SIZE rcvd: 105
dig charlieatlantic.lan
server:~ root# dig charlieatlantic.lan
; <<>> DiG 9.6.0-APPLE-P2 <<>> charlieatlantic.lan
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22520
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;charlieatlantic.lan. IN A
;; AUTHORITY SECTION:
charlieatlantic.lan. 3600 IN SOA server.charlieatlantic.lan. admin.charlieatlantic.lan. 2009100312 86400 3600 604800 3600
;; Query time: 0 msec
;; SERVER: 192.168.0.2#53(192.168.0.2)
;; WHEN: Sun Oct 4 17:34:42 2009
;; MSG SIZE rcvd: 83
Secondly, the DNS forwarders don't seem to work. There is no internet connection for either the XServe or the client machines. I know the provided external DNS server work, as if I manually enter them into the DNS field I get a connection. Similarly, if I manually enter 192.168.0.1, this works for internet too.
Thanks for any help, I'm going mad! Any ideas?
charlie
I wonder if someone can help me out. I'm slightly tearing my hair out.
I seem not to be able to get DNS to work correctly on OSX Server 10.6 (and I had the exact same problem on 10.5 within the same network). I am running Server 10.6 on an XServe. Both DNS and DHCP are enabled. The XServe has a static IP address of 192.168.0.2. The network's Netgear router, with internet connection, has a static IP of 192.168.0.1. The rest of the IP addresses are dished out by DHCP on the XServe. This works correctly; any client machine in the network picks up its IP address from the DHCP server, and all the network information is correctly populated. Client machines thus have their IP address, default gateway, router and DNS information correctly provided by the DHCP server on the XServe.
From each client machine it looks like this:
IP: 192.168.0.x
Default Gateway: 255.255.255.0
DNS: 192.168.0.2
Router: 192.168.0.1
The XServer is the DNS server at 192.168.0.2. As I say, each client machine is aware of this. There are no other DNS servers on the network. The information configured in the DNS settings on the XServe are as follows [obviously I've replaced the real names for security reasons]:
Here is what I have in DNS, verbatim. In ZONES:
Name Type Value
0.168.192.in-addr.arpa. Reverse Zone -
192.168.0.2 Reverse Mapping server.charlieatlantic.com
charlieatlantic.lan Primary Zone -
server Machine 192.168.0.2
and in SETTINGS:
Acceptive recursive queries from the following networks:
none
Forwarder IP Addresses:
158.152.1.58
158.152.1.43
But I can't seem to get this to work. I've checked it against the Apple instructions, and a couple of online guides, but to no avail.
Firstly, if I run nslookup etc, I get NXDOMAIN responses:
nslookup charlieatlantic.lan
server:~ root# server:~ root# nslookup charlieatlantic.lan
-sh: server:~: command not found
server:~ root# ;; Got recursion not available from 192.168.0.2, trying next server
-sh: syntax error near unexpected token `;;'
server:~ root# ;; Got recursion not available from 192.168.0.2, trying next server
-sh: syntax error near unexpected token `;;'
server:~ root# Server:
.Trash/ .sh_history Documents/ Library/
.forward Desktop/ Downloads/
server:~ root# Server:192.168.0.1
-sh: Server:192.168.0.1: command not found
server:~ root# Address:192.168.0.1#53
-sh: Address:192.168.0.1#53: command not found
server:~ root#
server:~ root# ** server can't find charlieatlantic.lan: NXDOMAIN
nslookup 192.168.0.2
server:~ root# nslookup 192.168.0.2
;; Got recursion not available from 192.168.0.2, trying next server
;; Got recursion not available from 192.168.0.2, trying next server
Server: 192.168.0.1
Address: 192.168.0.1#53
** server can't find 2.0.168.192.in-addr.arpa.: NXDOMAIN
dig -x 192.168.0.2
server:~ root# dig -x 192.168.0.2
; <<>> DiG 9.6.0-APPLE-P2 <<>> -x 192.168.0.2
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49785
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;2.0.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
2.0.168.192.in-addr.arpa. 10800 IN PTR server.charlieatlantic.lan.
;; AUTHORITY SECTION:
0.168.192.in-addr.arpa. 10800 IN NS server.local.
;; Query time: 0 msec
;; SERVER: 192.168.0.2#53(192.168.0.2)
;; WHEN: Sun Oct 4 17:33:51 2009
;; MSG SIZE rcvd: 105
dig charlieatlantic.lan
server:~ root# dig charlieatlantic.lan
; <<>> DiG 9.6.0-APPLE-P2 <<>> charlieatlantic.lan
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22520
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;charlieatlantic.lan. IN A
;; AUTHORITY SECTION:
charlieatlantic.lan. 3600 IN SOA server.charlieatlantic.lan. admin.charlieatlantic.lan. 2009100312 86400 3600 604800 3600
;; Query time: 0 msec
;; SERVER: 192.168.0.2#53(192.168.0.2)
;; WHEN: Sun Oct 4 17:34:42 2009
;; MSG SIZE rcvd: 83
Secondly, the DNS forwarders don't seem to work. There is no internet connection for either the XServe or the client machines. I know the provided external DNS server work, as if I manually enter them into the DNS field I get a connection. Similarly, if I manually enter 192.168.0.1, this works for internet too.
Thanks for any help, I'm going mad! Any ideas?
charlie