Domain Name Service, a method of converting a textual doman name to an IP address

learn more… | top users | synonyms

15
votes
8answers
19k views

DNS not resolving on Mac OS

Some of my coworkers are having troubles on their Macs - DNS resolution does not work under Mac OS. They're running Snow Leopard 10.6.8. They can use DNS in a Windows 7 virtual machine (VMware Fusion ...
9
votes
4answers
6k views

DNS lookups fail with e.g. `ping`, but work with `host`

I'm using pfSense 2.0rc3, and I've set it up as a DNS forwarder and enabled "Register DHCP leases in DNS forwarder" and what I understand are all the appropriate settings to get DNS server for local ...
8
votes
2answers
4k views

How do I flush the DNS cache on a OS X 10.6 machine?

Trying to flush the local DNS cache. How is this done on Snow Leopard? Using System Preferences and using the terminal?
7
votes
2answers
4k views

How to fix DNS resolving issues on Mountain Lion after waking from sleep?

After I installed Mountain Lion the other day I've noticed something very annoying. Almost every time I wake my iMac (27", mid-2010, CI7) from sleep: it seems that something DNS-related is broken. ...
7
votes
1answer
1k views

Is it possible to configure OS X to use the domain-name supplied by DHCP option 15?

I run a small home network, and have configured my DHCP server to provide a domain name with all responses. My MacBook Air (running 10.7.3) places the provided domain in the DNS search path, but does ...
5
votes
4answers
4k views

How can I quickly change DNS server

I often like to use a non-network specific DNS server (like Google's public DNS 8.8.8.8). However, many public wi-fi locations won't load their "terms of service, click here" page during the ...
5
votes
2answers
1k views

Mac OS X Mountain Lion - DNS resolving uses wrong order on VPN via dial-up connection

I am using a MacBook with Mac OS X 10.8.2 and connect to my company's network via VPN. Everything works great when establishing the VPN connection via LAN or WLAN. However, when I use a dial-up ...
4
votes
2answers
334 views

What is the preferred method of command line domain name lookup (DNS)?

What command line command do I use to lookup a domain address? When looking at the man pages for nslookup and dig I can see a section saying that these utilities do not use the Mac OS methods of ...
4
votes
1answer
894 views

Do /etc/resolver/ files work in Mountain Lion for DNS resolution?

Can anyone tell me if adding a file under /etc/resolver will work for DNS resolution using a DNS server other than what is handed out via DHCP ? My issue is that I want to use OpenDNS for a clients ...
4
votes
1answer
773 views

How to set custom DNS entry for a particular wifi connection

Is there a way to set custom DNS settings for a single wifi connection without affecting other connections? I use my laptop at home and work. When at work I need to type in an IP address of a local ...
4
votes
3answers
1k views

How to add some additional DNS search domains without ignoring the DHCP ones?

I just want to add my own list of Search Domains but without overriding the ones returned by the DHCP? As anyone would imagine I already tried to add them to Network > Advanced > DNS but adding them ...
3
votes
2answers
410 views

iPad and iPod virus?

Every now and then my iPad or iPod touch will redirect my to a particular site in Safari. Could this be malware of sorts that has crept on to my iMac and then my iOS devices? I don't think it's a ...
3
votes
1answer
290 views

What is OS X's equivalent of Linux's NSS?

Anyone familiar with the internals of Linux knows about NSS; it's the subsystem that services, like gethostname() and such, delegate to. The code that actually makes DNS queries or reads /etc/passwd, ...
3
votes
2answers
314 views

How would I prepend 127.0.0.1 as a nameserver all the time

I do web development and I would like to have dnsmasq running and handing my local dns requests. However I work in a lot of different networking scenarios and I need to DHCP updating my networking ...
3
votes
1answer
411 views

Can I proxy traffic / domains through my phone by tethering to carrier data?

Would it be possible for me to proxy example.com to http://google.com/example.com/, through my jailbroken iPhone? I would tether my connection to my laptop, so to my laptop it connects to Google's IP ...
3
votes
1answer
307 views

Network's DNS queries redirection to localhost

Before saying anything, I would like you to know that my experience in the field of network administration is about 3 days long, so please treat me like the newbie I am. I have also been looking ...
3
votes
2answers
567 views

Unable to revert changes to hosts file in OS X Lion

I edited the hosts file and added: 10.0.0.1 devsys.crossreader.net Later I commented out the entry: #10.0.0.1 devsys.crossreader.net When I ping or browse to devsys.crossreader.net the returning ...
3
votes
1answer
327 views

DNS: Search Domains not working correctly?

I am running OSX Lion. I've looked all over the web for solutions to the issue I'm having and can't find a fix. I've found several entries where uses are trying to resolve custom_hostname.dev (etc, ...
3
votes
0answers
146 views

Why are DNS server addresses lost after reboot?

I applied OpenDNS server addresses to Network Preference > Advanced > DNS. These were applied first under user account, then believing I needed to apply as Admin. Yet upon reboot they're replaced ...
3
votes
1answer
828 views

Lion Server DHCP randomly loses settings and reverts to defaults

I’ve been trying to set up Lion Server on a Mac Pro with it acting as the router/gateway/firewall/DNS/NAT and DHCP. I’ve been trying to setup an internal-only network named mycompany.something. After ...
2
votes
7answers
3k views

Can't access apple.com webservers, App Store, nor Software Update

I have a MacBook Pro Early 2011 running Lion 10.7.4 (11E53) I have installed an SSD instead of the optical drive, and encrypted both hard drives with FileVault2. For some time now I noticed I can't ...
2
votes
2answers
19k views

How can I change the cellular DNS server on iOS?

Is there a way to set a global DNS server that will be used for all connections (both Wi-Fi + cellular data)? If there isn't a uniform manner to specify DNS, can I just change the DNS used by the ...
2
votes
2answers
408 views

How do I set up DynDNS on my MacBook?

I want to create a host name that points to my MacBook dynamically, so I can have a chance to take back the control if it was stolen. I opened ssh and vnc, but I have no idea how to find my machine. ...
2
votes
2answers
227 views

How do I configure dynamic DNS when my router does not support it?

I have a MacBook which is connected to the net via an ancient DSL router (NAT enabled). I want to SSH into the server from elsewhere, but my ISP assigns new IP address every once in a while. I would ...
2
votes
4answers
5k views

How to fix hanging Server Admin, log shows servermgrd error in getAndLockContext: flock(servermgr_info) FATAL time out

On a 10.7.4 Lion Server installation the Server Admin.app fails to start correctly. The window is drawn and the last known server and its services are displayed, but a spinning wheel keeps spinning on ...
2
votes
1answer
270 views

Internet page not loading, ping not working but host www.example.com return an IP

Sorry I'm being vague because I don't even know where the problem can be. Yesterday I was using the internet just fine. Today on the same wifi router and on another 3G connection, I couldn't access ...
2
votes
1answer
548 views

OS X assumes hostname of other network computer: how to prevent this?

I just came across a strange quirck: I use my MacBook Pro in the office. Every computer is assigned their IP addresses by a DHCP server. It seems to be the case now, however, that my OS X changed my ...
2
votes
1answer
581 views

User specific hosts file in Mac OS X

I'm working on an OS X 10.6.8 machine, for which I do not have superuser privileges. I'd like to imitate the effect of adding an entry to the hosts file, i.e. have a certain domain resolve to a ...
2
votes
1answer
1k views

How to fix when I can nslookup and dig an internal hostname, but I cannot ping or ssh to the internal machine?

I can nslookup and dig an internal hostname, and I get a rapid response, but I cannot ping or ssh to the server. All external hostnames work fine for both ping, ssh, dig or nslookup. ssh -vvv ...
2
votes
2answers
1k views

Can I set up domain filtering on an Airport Extreme?

I'm wondering if it is possible to set up domain filtering on an Airport Extreme based home network. Specifically, I'd like to block just rad.msn.com, and I need to do that at the network level.
2
votes
0answers
127 views

Mountain Lion firewall is randomly delaying DNS requests

I recently experienced some delays during DNS host resolution on OS X 10.8. To test it I started a simple script which tries to repeatedly resolve the same hostname 20 times: #!/bin/sh for i in `seq ...
2
votes
0answers
194 views

Browsing to a nested subdomain resolves wrong page

Our corporate network has some web applications hosted in a nested subdomain hierarchy. A "subdomain's subdomain", as you will. For example: Root-> http://*.mydomain.com (resolves to: 192.2.2.200) ...
2
votes
0answers
231 views

Lion Server - DNS crashing

Every now and then (once per week?), my Mac Mini (2011, 8GB RAM i5) running Lion Server, stops the DNS server bringing my network to a grinding halt. The only way I have found to get it to restart is ...
2
votes
2answers
245 views

Airport Extreme Name Resolution

I have a little issue with my airport extreme. I'm using the device in my corporate network which has two DNS server for resolving intern and external names. When I do an nslookup "public adresse" ...
1
vote
2answers
1k views

How do I get rid of browser redirect malware?

I am using Mac OS X Leopard on a MacBook Pro. I must have been very careless at some point, since I managed to let some malware install in it. While browsing I get randomly redirected to different ...
1
vote
1answer
29 views

Setting a specific dnsentry

I have a server running at port 4433 on my localhost machine. I'd like to refer to the service as http://mytest.com:4433 from the browser or any script that I write. How could I set the DNS on OSX to ...
1
vote
2answers
112 views

How can I make the UP arrow work in Terminal's nslookup command?

When I open terminal, I'd like the up arrow go to the last command I typed within nslookup. Instead I get a strange escape sequence. What must be done to allow me to up arrow in nslookup?
1
vote
2answers
2k views

Why do local network hostnames resolve only in certain cases?

I have a linksys router which runs "tomato" Linux and serves as the local DNS server. It runs dnsmasq. I recently upgraded from OS X 10.4 to 10.6. Since then, resolution of hostnames on my local ...
1
vote
2answers
312 views

How do I add custom DNS server and preserving default DNS of ISP in OS X Mountain Lion

I'm using OS X Mountain Lion. I'm using dnsmasq to set up wildcard localhost domain names, such as http://local.dev, to point to localhost. But I have to add 127.0.0.1 in my system preference -> ...
1
vote
1answer
194 views

10.8.2 DNS in hosts lookup slow

As a web developer, I need to make a domain redirect to localhost. I modified the hosts file to do that. But I don't know why it always took so long to do the lookup. How can I solve this?
1
vote
1answer
116 views

Is it possible to check the DNS server you're using on the iphone?

on windows, you'd use something like ipconfig /all to see the dns server you're hitting. What would u do on an iphone or mobile device?
1
vote
1answer
555 views

Map certain ports to URLs via hosts file or DNS resolver

I use SSH tunnelling extensively to gain access to remote machines that are behind a firewall. So to access a development server I use something like http://localhost:8888 which is forwarded to port ...
1
vote
1answer
590 views

How do you access a subdomain on localhost with VMWare Fusion on a Mac?

I am able to access localhost on a Mac through Windows XP on VMWare Fusion by using my Mac username like this: http://username.local:3000/ But how do I do that with a subdomain, something like ...
1
vote
1answer
6k views

Multiple IP addresses for same host name in /private/etc/hosts?

I have a corporate mail account (exchange 2007) that uses a self-signed SSL certificate. No matter what I do, Mail always complains about this when I connect. If I look at the details it always says ...
1
vote
1answer
600 views

Mac doesn't recognize hosts on local network

I have a Linux server in my cupboard. My Windows machines can connect to it via its hostname. I have never configured any DNS server; all I did was assign the Linux box a name when I installed Ubuntu ...
1
vote
1answer
31 views

Finder slow after wake up from standby mode

I have 4 or 5 Network shares in my Favorites bar in the Finder. Any time the Macbook wakes up from Standby, the Finder takes forever to show up. If I remove the Network shares from the Favorites bar, ...
1
vote
1answer
122 views

Cannot ping localhost

I have setup a new MacBook Pro retina, things were going well but now I cannot access localhost. $ ping localhost ping: cannot resolve localhost: Unknown host My /etc/hosts file is fine, or at ...
1
vote
2answers
53 views

Shared Internet apply /etc/hosts

How do I make those who connect to me via a shared internet connection use my /etc/hosts file? I was thinking something along the lines of creating a DNS server, but I was hoping maybe there is a ...
1
vote
1answer
106 views

Cannot Resolve Host

For some reason my system will not resolve hosts added to /etc/hosts. If I add an entry: 127.0.0.1 somename.dev It won't resolve. If I add this, however: 127.0.0.1 somename.dev ::1 somename.dev ...
1
vote
2answers
127 views

Cannot use ssh/ping domain name after connecting to openvpn

I've got two macs, both on the same network, both using Tunnelblick to connect to vpn. Both with same settings. Both connect fine and both have the same settings for DNS and search domain applied ...

1 2 3