Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an intranet server that is also a DNS server, that has its own IP set up as a Host (A) record with the name 'foo'.

I then have a wireless router hooked up, and a laptop, and an iPod. The laptop connects and can go to 'foo' in a browser just fine. The iPod connects and can hit the internet and the intranet server by IP address only--type in 'foo' and it never connects.

I tried manually editing the settings on the iPod so instead of the wireless router acting as a DNS server (it then just forwards DNS requests to the intranet server), it used the intranet server as a DNS server directly. Besides not having to do that on the laptop, it didn't seem to have any effect.

How do I get it to connect? My intranet app needs to be accessed by name in some places, so direct IP access won't cut it.

share|improve this question
1  
What DNS server software are you using? –  brad.lane Oct 19 '09 at 15:57
    
The one built into Windows 2003. Sorry, I should've specified that. –  Kev Oct 19 '09 at 16:02
add comment

4 Answers

up vote 2 down vote accepted

Are you sure DNS is actually doing the resolution for your laptop? It could be resolving the name->IP via NetBIOS, which the iPod wouldn't support.

Check on a connected laptop "nslookup foo" and see what it comes back with, this should help you diagnose the problem. My guess is that the DNS server isn't actually resolving the IP, or DNS isn't forwarded properly.

share|improve this answer
    
You're right. How do I get it to forward properly? –  Kev Oct 19 '09 at 16:15
    
*** Can't find server name for address 192.168.0.1: Non-existent domain *** Default servers are not available Server: UnKnown Address: 192.168.0.1 Name: foo.local.lan Address: 10.0.10.100 –  Kev Oct 19 '09 at 16:17
1  
Oh, I got it. I just needed to enter the domain name into the router. (It had said 'optional', and since I don't access foo.local.lan, but rather just foo, I didn't know I needed to do that.) –  Kev Oct 19 '09 at 16:21
1  
NetBIOS is teh debil. –  Kara Marfia Oct 19 '09 at 19:28
    
FQDN is teh shit ^^ –  Oskar Duveborn Aug 3 '10 at 12:06
add comment

You'd probably have a similar problem with any macs on your network. Not totally familiar with iPod touch network settings, but in order for me to get the macs on our network to hit our intranet with just the name, i had to modify the "Search Domains" in the mac's Network Settings.

From your browser, try going to foo.domain.whatever (whatever the domain the DNS server is authoritative on). If this works, add domain.whatever to the "Search Domains" field in the network settings on your iPod.

Oh, and be sure to try Dave's answer to make sure it's querying the right DNS server. You said you had a wireless router, which may be using it's own DNS

share|improve this answer
add comment

What wireless router are you using?

In my experience (and I've done specific research into this) whilst most routers have GUI settings for DNS settings, some don't then propagate those settings via DHCP to clients.

Check from another client (i.e. the laptop) which specific resolvers are being doled out via DHCP.

share|improve this answer
add comment

If everything above seems to be ok and things still don't work, check out the domain suffix. If it happens to be .local, then the problem is described here

http://support.apple.com/kb/TS3389

I have added a new zone in my bind9 conf, a .lan one and all works ok

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.