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

learn more… | top users | synonyms

17
votes
4answers
15k views

How can I get OSX Mavericks to notice a DNS change in `/etc/hosts`?

A common way to "block" a website (eg, to eliminate it as a distraction) is to edit /etc/hosts and point the domain to the loopback address. Eg: # Stop goofing off 127.0.0.1 youtube.com On ...
2
votes
1answer
197 views

Dig resolves a domain, but all other programs fail to find it

Mac OS X Mavericks, no VPN, connecting via wifi. This domain resolves to my IP address in the local network $> dig mydomain.xx ;; ANSWER SECTION: mydomain.xx. 3591 IN A 192.168.10.18 I ...
3
votes
2answers
210 views

when is the /etc/hosts file loaded?

I'm trying to configure some virtual hosts and I'm quite confused as to when this file is loaded. At what point is /private/etc/hosts loaded? When logging in? At every DNS call? When Mac OS restarts? ...
2
votes
2answers
168 views

Specifying DNS: Router or PrefPane?

OSX Lion (10.7.5). Network preferences has an option to set up (and order) DNS adresses. My router (Bell Connection Hub - Bell Canda) also has an option for specifying DNS addresses. Which takes ...
2
votes
1answer
2k views

Deleted com.apple.mDNSResponder.plist in Mavericks, how to get it back?

I already had trouble with DNS not resolving for all apps except Chrome, in my troubleshooting I for some reason deleted com.apple.mDNSResponder.plist Deleting this file did not help in any way.. ...
0
votes
0answers
1k views

OSX Open Directory Network Users Problem and Kerberos

I've got a Mavericks Server mostly working, but I still get some funkiness. Main problem is that I've been having a great deal of trouble getting network user accounts with home directories on the ...
1
vote
1answer
3k views

Changed DNS server, now can't connect to internet on Safari, Chrome or App Store

I'm using Mac 10.7.5. Attempting to speed up my internet connection, I downloaded namebench and changed my DNS server per the suggestion given by namebench. After restarting my computer, I can no ...
1
vote
2answers
2k views

Macbook Pro 15 inch Late 2011 - Internet always slow until I change DNS lookup address

This problem has plagued me across multiple networks (Ethernet and Wi-Fi, across multiple ISP's) and multiple operating systems (Snow Leopard, Mountain Lion, Mavericks). While browsing, my internet ...
1
vote
0answers
902 views

How should I configure my VMware Fusion VM network connections?

I've been a long time user of VMware Fusion on my iMac and I've just bought a MacBook Pro to allow me to work on projects whilst I'm away from my desk. On my iMac, I have a few VMs, each with their ...
2
votes
1answer
283 views

How to import authoritative (primary) zone data into Lion Server DNS?

Our current authoritative DNS server suffers from random reboot issues. That is why we would like to import our DNS zones into a Lion DNS server (BIND). We could not find an option to import DNS ...
6
votes
4answers
7k views

List DNS servers in Mavericks

How to check which DNS server was used to resolve particular hostname within VPN network? I am using company-provided proprietary VPN client and want to see DNS server's IP address, but ...
1
vote
0answers
259 views

Resolve domain name using the internal IP when inside the intranet?

I want to access a web server using the same domain name while I am inside the intranet but a different IP. Let's say that I register into a public DNS: mysrv-public.example.com public-ip ...
1
vote
1answer
264 views

Cannot configure OpenDNS on iPad

The instructions on Internet Safety Project seem simple enough, but, according to all the OpenDNS tests, websites are not working. I am using a Wi-Fi iPad2 with iOS 7.
0
votes
0answers
5k views

DHCP and DNS fail to work in Mac OS X 10.8.2, still work in recovery mode

I've been most unfortunate to see my mid-2012 Macbook Air 11" running Mac OS X 10.8.2 stop properly receiving DHCP leases AND resolving DNS names to IPs. I know, there is 10.8.5, and Mavericks that ...
1
vote
1answer
107 views

Mountain Lion OSX Server One IP Virtual Sites www resolving to wrong Site

I am trying to get 2 domains working properly with one static IP on ML OSX Server. When I set a domain = www.domain2.com- it resolves to domain1.com. I have dns set for domain 2 at godaddy, where ...
2
votes
0answers
5k views

SSH'ing with just a machine name on internal network: nodename nor servname provided, or not known

Yesterday I was able to ssh into my development box by using the machine name. Today, I can't. I can nslookup and use chrome to navigate to my box using just the machine name. ping and ssh do not ...
1
vote
0answers
201 views

Does Apple's iOS have a backup DNS server configuration?

Yestderday I experienced something interesting while setting up a Wi-Fi access point. The access point was connected to the Internet via a local modem (gateway), which had NO DNS server address ...
4
votes
2answers
549 views

On OS X is it possible to override DHCP assigned DNS servers but still keeping them for fallback?

By default I would like to use the google public DNS servers and to fallback to intranet ones when these are failing. Is this possible? ... I am looking for a setup that would not break when I move ...
3
votes
3answers
1k views

Mavericks - ssh to host under search domain

I am VPNed in to a network which has its own search domain, and it mostly works - I don't have to type the domain in the browser, and the host command resolves to the correct IPs. However, when I try ...
7
votes
3answers
14k views

Cannot access localhost after upgrade to Mavericks but can access 127.0.0.1

I ran across this question, but it wasn't resolved (and it hasn't been touched in a while). I'm not sure if my issue is the same, but I don't have enough reputation here to comment on that question. ...
2
votes
1answer
3k views

Can I redirect to an alternative DNS Lookup server depending on domain request

Background I had a problem loading images from a particular website. ( more details of that here) Someone at work Suggested I change my DNS servers to openDNS and see if that resolves the problem. ...
1
vote
1answer
166 views

How can I block a given DNS from being used?

When I get a list of DNSs that OS X is using, it shows 3: Two from my ISP, and one is 192.168.1.1. Is it possible to prevent OS X from using the third one?
1
vote
1answer
3k views

2011 MacBook (10.6.8) connects to AirPort but intermittently won't connect to webpages

I have never experienced this problem before. I know that the problem is not the internet, because the internet works fine on all my other devices, both Windows and Mac. I brought my MacBook in to the ...
1
vote
2answers
89 views

How do I include my own zone file in /etc/com.apple.named.proxy.conf

When I enable internet connection sharing, a local named DNS nameserver is started that uses the file /etc/com.apple.named.proxy.conf for configuration. My internet connection sharing is configured ...
0
votes
1answer
648 views

DNS Zones not working after OS X 10.8.5 upgrade

Prior to upgrading from OS X 10.8.4 to 10.8.5, I had the following DNS zone file in place that worked perfectly fine - now it's failing: ; ; BIND data file for dev sites ; $TTL 604800 @ IN ...
1
vote
0answers
127 views

DNS resolution temporarily failing

Macbook air mid-2012 w/ Mountain Lion. Whenever I wakeup from a long sleep and also on some random moments when it's on, i get DNS resolution failures for every server, with nslookup saying ;; ...
1
vote
1answer
522 views

Name resolution is using proxy server over my local DNS server

I'm running a local DNS server to resolve .dev as a testing domain on my machine, the resolution works fine and shows the proper answer through dig and ping and I can pull the home page instantly with ...
2
votes
0answers
94 views

Added website with a subdomain on Mountain Lion server couldn't be found on other machines

My server is accessible via example.com and I want my website to be accessed via sub.example.com. I added a website to Mountain Lion server with domain name that's actually a subdomain; ...
0
votes
2answers
62 views

Trying to find the /etc/resolve

I'm trying to connect a Macbook Air running 10.8.4 to a Windows 2008 R2 server. I have run into trouble as we use a company.local. I think this may be the problem: ...
0
votes
0answers
282 views

My internet in my MBP gets really slow or stops when I connect to my router

My internet gets really low (0.8 - 0.2 kb/s) or really just drop to 0, it started 3 months ago. I use "Automatic" and another using Googles Public DNS for my location. I am using wifi on my MBP to ...
2
votes
2answers
11k views

Can't access specific websites with Macbook Air (10.7.5 Lion)

This has really baffled me: While my internet connection works, I can't access specific websites with Safari (or any other browser for that matter). I don't get a 404 page; Just an error message that ...
1
vote
1answer
3k views

How to I display the current DNS servers from the command line under OS X?

I want to display the DNS serververs that are used by the current network setup on OS X, from the command line.
4
votes
3answers
738 views

/etc/hosts gets over written

What is the correct way of editing /etc/hosts? I want to add some IP addresses and host names to it. It works for a while (a few hours) and then it gets reverted back to the original version. Is there ...
3
votes
2answers
357 views

Local DNS circumvented when WiFi is active

I am using Mac OS X 10.8 to connect to two networks through ethernet and wifi and I am experiencing a problem with local DNS resolution. I would really appreciate your advice. I am simultaneously ...
1
vote
2answers
1k views

Lion resolving DNS names when querying server directly, but not when used in a command or app

I've recently (as in minutes ago) added a hostname and reverse (A and PTR) records for a hostname on my internal network, using a Bind DNS server. For some reason, i can both dig and nslookup this new ...
1
vote
1answer
2k views

How long does the DNS cache last in Mac OS X?

I know I can manually flush the DNS cache, e.g. with sudo killall -HUP mDNSResponder. But how long will the cache last if I don't do this? Does it reset on a reboot?
2
votes
1answer
317 views

How to prevent sending of hostname via DHCP?

I am trying to prevent OS X from sending its hostname to the DHCP server. For example, in OpenSuse systems there is DHCLIENT_HOSTNAME_OPTION="AUTO". I cannot find a similar option in OS X for this, ...
1
vote
1answer
205 views

Lion server DNS problem with .private

I have just installed a lion server on my home network. I want to use it as a .private. Domain. I have implemented the VPN connection for external users via port fwd on my apple time machine router. ...
0
votes
0answers
120 views

Something keeps directing sub domains back to my own local host 127.0.0.1

I run mamp pro locally for web development and for each site I have internal maps for: domain.com = remote dev.domain.com = remote domain.dev = local I expect domain.dev is handled by mamp on my ...
1
vote
1answer
531 views

Change of IP / Configure AirPort Extreme

Earlier today our IP Address changed due to misconfiguration caused by our ISP. I'm trying to ensure our IP won't change again. So I spoke with our ISP and they assigned us a static IP (we were ...
1
vote
1answer
105 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
315 views

How to host Etherpad (node.js) AND create a closed Wifi network from the same Mac?

I have a successfully running Etherpad install running on my Mac, and when clients on my network connect to my node.js server through the IP address assigned by my router, all is well. But I'm going ...
5
votes
2answers
4k 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 -> ...
0
votes
3answers
3k views

Where could I get my networks domain name?

I am trying to determine domain name of my network. I tried some programming methods, commands but i could not get domain name of my network.I got ip address using cat /etc/resolv.conf I was doing ...
1
vote
1answer
437 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 ...
3
votes
0answers
440 views

Preventing google search for custom top-level domain

How can I prevent safari to redirect the user to the google search page for addresses with custom top-level domains? Given an address of the type http://application.test where test is a primary zone ...
0
votes
1answer
1k views

Mac equivalent of /etc/nsswitch.conf for PHP chroot

I've setup a chroot for my PHP server running behind nginx on mac. It works except for any call to a CURL request fails with an error like cURL resource: Resource id #43; cURL error: Couldn't resolve ...
1
vote
0answers
1k views

AirPort Extreme, OS X Server, DHCP and Dynamic DNS

I have a AirPort Extreme and OS X Server (Mountain Lion). On my local network, I have a number of OS X, Windows, Ubuntu and other machines using DHCP to obtain network addresses. Almost all ...
1
vote
1answer
32 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 ...
0
votes
1answer
561 views

Custom Local DNS entry ignored

I'm using dnsmasq to route requests to .lh hosts to my vagrant server currently running on 192.168.0.5 on Mac OSX 10.6. scutil --dns returns the correct resolver info: resolver #9 domain : lh ...