OS X Server DNS service - MacRumors Forums
Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 13, 2011, 02:12 AM   #1
soinro
macrumors newbie
 
Join Date: Jan 2011
OS X Server DNS service

Hello all,

I have a Mac Mini (1.83GHz, 1.5 RAM) with a fresh install of OS X Snow Leopard Server and I want to use it for DNS and web hosting.

What I have done so far is to go to the domain registrar and configure a new nameserver (ns.domain.tld) to point to my static IP. This Mac Mini is behind a DI-524 router and I have forwarded ports 53 and 80 to the Mini.

I have also added the domain name to the DNS configuration pannel (as in the attachment), but intodns.com gives the following error (among others, and obviously the site is not working): "Mismatched NS records WARNING: One or more of your nameservers did not return any of your NS records."

I don't know where to go from here ..

Thank you to anyone willing to take the time to give me a hint!

Best regards!
Attached Thumbnails
Click image for larger version

Name:	Screen shot 2011-01-13 at 10.08.52 AM.png
Views:	98
Size:	17.9 KB
ID:	267289  

Last edited by soinro; Jan 13, 2011 at 02:14 AM. Reason: added the attachment
soinro is offline   0 Reply With Quote
Old Jan 13, 2011, 04:05 AM   #2
sim667
macrumors 6502a
 
Join Date: Dec 2010
Quote:
Originally Posted by soinro View Post
Hello all,

I have a Mac Mini (1.83GHz, 1.5 RAM) with a fresh install of OS X Snow Leopard Server and I want to use it for DNS and web hosting.

What I have done so far is to go to the domain registrar and configure a new nameserver (ns.domain.tld) to point to my static IP. This Mac Mini is behind a DI-524 router and I have forwarded ports 53 and 80 to the Mini.

I have also added the domain name to the DNS configuration pannel (as in the attachment), but intodns.com gives the following error (among others, and obviously the site is not working): "Mismatched NS records WARNING: One or more of your nameservers did not return any of your NS records."

I don't know where to go from here ..

Thank you to anyone willing to take the time to give me a hint!

Best regards!
That sounds more like a problem with the DNS service rather than your setup, i could be wrong, hopefully someone with a more specific knowledge will help you shortly.
__________________
Mac Pro, Macbook Pro, G4 Powerbook, iPad 4, iPhone 5, 2X TV, Nikon D800, ACSP Trained - Photography and Mac tech
Music and UK festival Blog
sim667 is offline   0 Reply With Quote
Old Jan 13, 2011, 09:05 AM   #3
talmy
macrumors 68040
 
talmy's Avatar
 
Join Date: Oct 2009
Location: Oregon
I'm no expert, but this seems all wrong to me. You are running a DNS on your LAN. You can see from the configuration that it is only concerned with your LAN addresses (192.168...) so it is only by your local systems. You should be port forwarding only 80 to your server for web hosting.
__________________
27" i7 iMac, 15" MacBook Pro, Mac mini with Mavericks Server, 5 other Macs and an unused Apple TV.
talmy is offline   0 Reply With Quote
Old Jan 14, 2011, 06:55 AM   #4
sim667
macrumors 6502a
 
Join Date: Dec 2010
You need to use the dns to redirect to your routers public ip address then port forward the correct protocols to the local address of your server on your network.

However if your server attains its ip from the router via DHCP then you may want to assign the server a static IP address to stop the port forwards borking.

Also if you have a dynamic ip address from your ISP then you want to look at ways you can automatically update your DNS with an IP when the lease runs out.
__________________
Mac Pro, Macbook Pro, G4 Powerbook, iPad 4, iPhone 5, 2X TV, Nikon D800, ACSP Trained - Photography and Mac tech
Music and UK festival Blog
sim667 is offline   0 Reply With Quote
Old Jan 22, 2011, 03:59 AM   #5
Danuska
Banned
 
Join Date: Jan 2011
Pleasant hosting service ..
Danuska is offline   0 Reply With Quote
Old Jan 24, 2011, 08:17 AM   #6
jg900ss
macrumors newbie
 
Join Date: Nov 2009
Location: Europe, and Florida
Some ideas....

I have a Mini with Server, at home, behind router(s). I signed up for DynDNS to get the location of my server tied to the dynamic IP I get from the phone company (lease is only guaranteed for 24 hours). I open ports on the routers to shove traffic to the server, and as long as the server is up, and announces itself to DynDNS through the DynDNS updater software that runs on bootup, its visible externally. I had MacWorks consultant help me get that and more running and it works fine. In fact, we got a directory sync'ed between similar servers on the web so it is clear the servers can find each other even when one has the temp address from the phone company. I believe the key is the port forwarding and doing it correctly on the router of choice, and using DynDNS, or something similar, for the "pinging".
__________________
JG900SS
MBP 15", 3 x MacMini w/SLServer, AppleTV
Dual 1.8Ghz G5 tower, iPod Touch, iPad4
Win/Linux machines. Real TV from Apple?
jg900ss is offline   0 Reply With Quote
Old Jan 25, 2011, 04:24 AM   #7
sim667
macrumors 6502a
 
Join Date: Dec 2010
Quote:
Originally Posted by jg900ss View Post
I have a Mini with Server, at home, behind router(s). I signed up for DynDNS to get the location of my server tied to the dynamic IP I get from the phone company (lease is only guaranteed for 24 hours). I open ports on the routers to shove traffic to the server, and as long as the server is up, and announces itself to DynDNS through the DynDNS updater software that runs on bootup, its visible externally. I had MacWorks consultant help me get that and more running and it works fine. In fact, we got a directory sync'ed between similar servers on the web so it is clear the servers can find each other even when one has the temp address from the phone company. I believe the key is the port forwarding and doing it correctly on the router of choice, and using DynDNS, or something similar, for the "pinging".
This is what i do to share my AFP fileshares across the web to friends houses, except instead of the DNS updater being an application on my mac, its on my router instead. I use dnydns too.
__________________
Mac Pro, Macbook Pro, G4 Powerbook, iPad 4, iPhone 5, 2X TV, Nikon D800, ACSP Trained - Photography and Mac tech
Music and UK festival Blog
sim667 is offline   0 Reply With Quote
Old Jan 25, 2011, 10:58 AM   #8
Winni
macrumors 68030
 
Winni's Avatar
 
Join Date: Oct 2008
Location: Germany.
Quote:
Originally Posted by soinro View Post
Hello all,

I have a Mac Mini (1.83GHz, 1.5 RAM) with a fresh install of OS X Snow Leopard Server and I want to use it for DNS and web hosting.

What I have done so far is to go to the domain registrar and configure a new nameserver (ns.domain.tld) to point to my static IP. This Mac Mini is behind a DI-524 router and I have forwarded ports 53 and 80 to the Mini.

I have also added the domain name to the DNS configuration pannel (as in the attachment), but intodns.com gives the following error (among others, and obviously the site is not working): "Mismatched NS records WARNING: One or more of your nameservers did not return any of your NS records."

I don't know where to go from here ..

Thank you to anyone willing to take the time to give me a hint!

Best regards!

Just a few quick points:

1. Does your ISP even allow you to forward DNS requests to your local DNS server? If not, then public DNS requests will never be forwarded to your private DNS server. I doubt that your ISP delegates the DNS authority to your local machine - only few ISPs would, and if so, they charge good money for that.

2. You CANNOT use private IP addresses on the Internet. The ranges 10.x.x.x/8, 172.16.x..x-172.31.x.x/16 and 192.168.x.x/24 are DROPPED by every ISP and never routed. (That's why they are private.) In other words, if you want the Internet to be able to resolve your host names and actually reach the hosts, you must use public IP addresses. (In your case, the one assigned to your Internet router.) Do you even have a STATIC public IP address? If not, DynDNS might become your best friend.

3. DNS requires UDP AND TCP. Make sure that both UDP and TCP port 53 are open and properly forwarded.

4. I don't know how Apple's implementation of BIND/their DNS server works, but BIND in Linux, for example, requires entries in this notation:


In the Forward lookup zone:

machine IN A 192.168.0.242


In the Reverse lookup zone:

242 PTR machine.domain.com. (The dot "." behind the FQDN is important and MUST be there.)

The important part here is that BIND requires the full host and domain name and the full network address, not just host names like "www.". But as I've said, I've never used OS X Server and don't know how its DNS GUI works and if they've dumbed the thing down in the name of user friendliness.
__________________
Coming soon: http://endnacht.de.
Winni is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
ATV and DNS service.. crackle not working.... jdaniel Apple TV and Home Theater 9 Dec 26, 2013 10:56 AM
What does the DNS service do? 9000 Mac OS X Server, Xserve, and Networking 4 Dec 7, 2013 04:36 AM
iCloud = Service Unavailable - DNS failure ineedamac iCloud and Apple Services 3 Aug 1, 2013 11:21 AM
DNS server question inscrewtable Mac Basics and Help 11 Jul 15, 2013 01:45 PM
Mac os x Lion Server Web+Dns server setup Help Needed Newbie David Hurd Mac OS X Server, Xserve, and Networking 3 Jun 4, 2012 03:54 AM

Forum Jump

All times are GMT -5. The time now is 09:54 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC