New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.6 - DNS problem in OSX Server 10.6


Post Reply New Thread Subscribe

 
Thread Tools
charlieatlantic

 
Member Since: Oct 07, 2009
Posts: 1
charlieatlantic is on a distinguished road

charlieatlantic is offline
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
QUOTE Thanks
kev2009

 
Member Since: Oct 07, 2009
Posts: 4
kev2009 is on a distinguished road

kev2009 is offline
Just an idea here as i'm completely new to MACs.. but what happensif you remove the forwarders? You may need to reboot server and cleint also.

i thk what shoudl happen is it will use the default route (0.0.0.0) whcih will go out via your router to the internet and use your ISp to resolve external website addresses.

Might be worth tryign to see fi it works, then at least you knwo its a forwarding issue...

Kevin
QUOTE Thanks
Stack Overflow

 
Member Since: Oct 07, 2009
Posts: 1
Stack Overflow is on a distinguished road

Stack Overflow is offline
I had a similar problem a couple weeks ago. I had the DNS set up correctly -- checked it a dozen times looking for errors. It just refused to work.

In the end I shutdown the dns server, blew off all the settings and then put them all back in. It worked perfectly. Go figure. It seems to me that the dns server in 10.6 doesn't like when you make edits along the way.

Tim
QUOTE Thanks

Post Reply New Thread Subscribe


« Perplexed with not being able to listen | screensaver problem »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Mail Problem "Cannot send message using server smtp.me.com" mitchww OS X - Apps and Games 1 08-17-2009 10:05 PM
problem uploading to server tricolourdog Web Design and Hosting 1 05-02-2009 01:37 PM
itunes sharing on osx server aamir OS X - Operating System 0 09-01-2007 12:23 PM
OSX 10.4.9 Combo Update Problem? CKellermusic OS X - Operating System 11 05-14-2007 01:49 PM
Problem installing osX 10.4 ighly OS X - Operating System 9 04-26-2006 08:47 PM

All times are GMT -4. The time now is 08:31 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?