Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got a local DNS server running, with an entry in etc/resolver/gm.local to make *.gm.local use this local DNS server (which in turn just points everything to localhost).

This works fine when I have a network connection enabled, but when there is no network (ie. on the train), I'm unable to access these domains via any web browser (although nslookup, curl et al seem to work correctly)

Does anyone know how to get what I assume is the OS X DNS resolution libraries to look up these entries when I'm not on a network conncection?

share|improve this question
1  
Use fully qualified domain names and prove to both us and yourself that you really do have the DNS problem that you think that you have. A WWW browser is not a DNS diagnosis tool. –  JdeBP Aug 6 '11 at 8:42
    
Also consider using something else than local., which is normally reserved for Avahi/mDNS. –  grawity Aug 6 '11 at 12:05
    
Using a fully qualified domain name made no difference. The lookup tab in Network Utility, ping and python are all able to resolve the domain name, but firefox, safari and chrome are not. I have no idea what the DNS problem I do have is, but it's clearly something to do with what the browsers are doing that the simpler tools are not - and it is this which is the problem I'm seeking a solution for. –  Glenjamin Aug 8 '11 at 10:24

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.