Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
DNS problem in OSX Server 10.6
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="charlieatlantic" data-source="post: 920547" data-attributes="member: 125434"><p>Hello there,</p><p></p><p>I wonder if someone can help me out. I'm slightly tearing my hair out.</p><p></p><p>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.</p><p></p><p>From each client machine it looks like this:</p><p></p><p>IP: 192.168.0.x</p><p>Default Gateway: 255.255.255.0</p><p>DNS: 192.168.0.2</p><p>Router: 192.168.0.1</p><p></p><p>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]:</p><p></p><p>Here is what I have in DNS, verbatim. In ZONES:</p><p></p><p>Name Type Value</p><p>0.168.192.in-addr.arpa. Reverse Zone -</p><p>192.168.0.2 Reverse Mapping server.charlieatlantic.com</p><p>charlieatlantic.lan Primary Zone -</p><p>server Machine 192.168.0.2</p><p></p><p>and in SETTINGS:</p><p></p><p>Acceptive recursive queries from the following networks:</p><p>none</p><p></p><p>Forwarder IP Addresses:</p><p>158.152.1.58</p><p>158.152.1.43</p><p></p><p>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.</p><p></p><p>Firstly, if I run nslookup etc, I get NXDOMAIN responses:</p><p></p><p><u><strong>nslookup charlieatlantic.lan</strong></u></p><p></p><p>server:~ root# server:~ root# nslookup charlieatlantic.lan</p><p>-sh: server:~: command not found</p><p>server:~ root# ;; Got recursion not available from 192.168.0.2, trying next server</p><p>-sh: syntax error near unexpected token `;;'</p><p>server:~ root# ;; Got recursion not available from 192.168.0.2, trying next server</p><p>-sh: syntax error near unexpected token `;;'</p><p>server:~ root# Server:</p><p>.Trash/ .sh_history Documents/ Library/</p><p>.forward Desktop/ Downloads/</p><p>server:~ root# Server:192.168.0.1</p><p>-sh: Server:192.168.0.1: command not found</p><p>server:~ root# Address:192.168.0.1#53</p><p>-sh: Address:192.168.0.1#53: command not found</p><p>server:~ root#</p><p>server:~ root# ** server can't find charlieatlantic.lan: NXDOMAIN</p><p></p><p><u><strong>nslookup 192.168.0.2</strong></u></p><p></p><p>server:~ root# nslookup 192.168.0.2</p><p>;; Got recursion not available from 192.168.0.2, trying next server</p><p>;; Got recursion not available from 192.168.0.2, trying next server</p><p>Server: 192.168.0.1</p><p>Address: 192.168.0.1#53</p><p></p><p>** server can't find 2.0.168.192.in-addr.arpa.: NXDOMAIN</p><p></p><p><u><strong>dig -x 192.168.0.2</strong></u></p><p></p><p>server:~ root# dig -x 192.168.0.2</p><p></p><p>; <<>> DiG 9.6.0-APPLE-P2 <<>> -x 192.168.0.2</p><p>;; global options: +cmd</p><p>;; Got answer:</p><p>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49785</p><p>;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0</p><p>;; WARNING: recursion requested but not available</p><p></p><p>;; QUESTION SECTION:</p><p>;2.0.168.192.in-addr.arpa. IN PTR</p><p></p><p>;; ANSWER SECTION:</p><p>2.0.168.192.in-addr.arpa. 10800 IN PTR server.charlieatlantic.lan.</p><p></p><p>;; AUTHORITY SECTION:</p><p>0.168.192.in-addr.arpa. 10800 IN NS server.local.</p><p></p><p>;; Query time: 0 msec</p><p>;; SERVER: 192.168.0.2#53(192.168.0.2)</p><p>;; WHEN: Sun Oct 4 17:33:51 2009</p><p>;; MSG SIZE rcvd: 105</p><p></p><p><u><strong>dig charlieatlantic.lan</strong></u></p><p></p><p>server:~ root# dig charlieatlantic.lan</p><p></p><p>; <<>> DiG 9.6.0-APPLE-P2 <<>> charlieatlantic.lan</p><p>;; global options: +cmd</p><p>;; Got answer:</p><p>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22520</p><p>;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0</p><p>;; WARNING: recursion requested but not available</p><p></p><p>;; QUESTION SECTION:</p><p>;charlieatlantic.lan. IN A</p><p></p><p>;; AUTHORITY SECTION:</p><p>charlieatlantic.lan. 3600 IN SOA server.charlieatlantic.lan. admin.charlieatlantic.lan. 2009100312 86400 3600 604800 3600</p><p></p><p>;; Query time: 0 msec</p><p>;; SERVER: 192.168.0.2#53(192.168.0.2)</p><p>;; WHEN: Sun Oct 4 17:34:42 2009</p><p>;; MSG SIZE rcvd: 83</p><p></p><p>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.</p><p></p><p>Thanks for any help, I'm going mad! Any ideas?</p><p></p><p>charlie</p></blockquote><p></p>
[QUOTE="charlieatlantic, post: 920547, member: 125434"] 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: [U][B]nslookup charlieatlantic.lan[/B][/U] 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 [U][B]nslookup 192.168.0.2[/B][/U] 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 [U][B]dig -x 192.168.0.2[/B][/U] 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 [U][B]dig charlieatlantic.lan[/B][/U] 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 [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
DNS problem in OSX Server 10.6
Top