Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dns]

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

1
vote
1answer
31 views

How can I reconfigure my PF.conf to be more secure

I want to make my computer more secure and a part of it I want to do with reconfiguring my PF firewall. How can I reconfigure my PF.conf to be more secure? I made a github repo where I posted my ...
1
vote
1answer
16 views

Website Doesn't redirect correctly

I have recently created a blog and hosted that on a freehosting website. domain is purchased from hostgater Website is hosted on freehosting. On hostgather nameserver has been updated as per ...
2
votes
1answer
24 views

OS X adds “incorrect” DNS servers “on top” of correct ones

OS X (latest version of High Sierra) is doing something strange when I try to connect to my campus wireless network. On a regular basis, it is adding an incorrect DNS server (10.0.0.255) "on top" of ...
3
votes
1answer
46 views

Unable to resolve hostnames inside macOS chroot jail

I just created a chroot jail with inetutils, coreutils and bash. Most of the things seem to work. I can ping ip addresses and hosts that are inside /etc/hosts, however, I can't ping hosts that are not ...
2
votes
1answer
33 views

Cannot ping a single website when I am logged into my account

I am having an issue connecting to my website. When I ping sample.com the server, I IP address I get is 192.168.0.12, but when I do an NSlookup, I get the correct IP. When I switch user account or go ...
2
votes
2answers
30 views

how to add ip routes with host name instead of ip address?

I want to add IP routes for host that I do not have the IP address for. I basically want tell macOS to search for a host in a specific interface: sudo route add -host <myHostname> -iface en7 ...
1
vote
0answers
33 views

Safari and Chrome loading the wrong website

My client is having an issue that is exclusive to her computer. When viewing her website on any other computer the website that shows is the current one being hosted by Squarespace. When viewing on ...
1
vote
0answers
74 views

How to create /dev/null in a jail-environment (chroot)?

In short: I am trying to install BIND9 on OSX inside a jail-environment (chroot) and failing to create a /dev/{null, random} file inside. Since Apple is slowly removing support for DNS, DHCP and more ...
0
votes
0answers
21 views

How do I reload the DNS config on macOS Server when I have edited it on the command line?

Server.app does not allow me to add a TXT record to the main domain (zone) but that is what is needed for SPF. So, I added a TXT record to my db.rna.nl file. (Note this is a split-DNS so on the ...
1
vote
1answer
61 views

iPhone 7 Sim Switching, Account Switching or just Normal Domain Traffic?

I think there is some funny business going on with one of the devices in my house. I'm not sure if the person is changing into between iCloud Accounts on the same device, or switching Sims or using ...
4
votes
1answer
374 views

How to change nameserver in resolv.conf in Recovery Mode?

How can I change the nameserver in /etc/resolv.conf while the MacBook is in recovery mode?
3
votes
3answers
172 views

How to use mac as a full router with DHCP, DNS, Port Fowarding etc.?

I know I can use internet sharing in macOS to share the internet connection provided to one network interface over one or more other network interfaces on my Mac. However, the feature set is VERY ...
0
votes
1answer
60 views

macOS not resolving IP Address

I used a certain domain name temporarily to build a site on. The site has been moved to its own URL and now I want to use the same domain again for another site. I have set up the WP installation but ...
5
votes
0answers
56 views

Terminal Displays My Roommate's Computer

I don't know how long ago this happened, but today I realized that when I open up terminal it no longer says Matthew-MacBook:~matthew$ as it used to. Instead, it appears to have synched up with my ...
4
votes
0answers
227 views

MacOS and split DNS

MacOS: 10.13.3 Pritunl VPN client: v1.0.1653.28 I have been following this: https://lists.apple.com/archives/macnetworkprog/2005/Sep/msg00047.html and http://hints.macworld.com/article.php?story=...
0
votes
1answer
39 views

Resolve internet address (IP) as running apps see them currently (vs. external name server)

Sometimes, I need to see the actual IPv4 address of web sites I open in Safari. Now, there are two terminal commands, host and dig, which I could use for that. But these commands are not always ...
0
votes
0answers
84 views

DNS Setup on a Per-SSID basis?

I manage a number of iOS devices. These devices are supervised via Apple Configurator. When they connect to a specific SSID, I want the devices to use the servers specified by DHCP (If needed, I can ...
0
votes
1answer
858 views

macOS High Sierra not trying other DNS servers

On one of my laptops which is running macOS High Sierra, is failing to resolve hostnames. I have specified two DNS servers in my network settings. One is an internal DNS server, and the other is 8.8.8....
0
votes
0answers
141 views

macOS High Sierra DNS servers not changing

I am trying to change my DNS servers to the OpenDNS servers (208.67.222.222, 208.67.220.220). I put them in in System Preferences, applied the changes, and checked in terminal, but when I go to the ...
5
votes
1answer
146 views

sharing internet/vpn with ipfw, can't access google.com over https

I am sharing my internet connection / IKEv2 VPN connection over pf via Murus static NAT. My network architecture is as follows: internet modem -> wired router (serving 192.168.1.1/24) -> Mac ...
0
votes
1answer
281 views

Force DNS server ip while connected to VPN

I'm using Fortclient VPN to connect to a customer network and the client enforces the use of their DNS (since the customer is in Turkey I get false DNS responses on wikipedia and other websites while ...
0
votes
0answers
48 views

Mac ignoring DHCP provided DNS

I've got a device running Ubuntu where I've configured a DHCP server and a DNS server with bind. When I connect my Windows laptop to this device, it automatically gets an IP and the DNS server I've ...
1
vote
2answers
121 views

DNS Suffix on two network Interfaces on MacBook Pro

I got a new MacBook Pro for my work office and have a network issue. On the MBP 13" I use the integrated Wi-Fi and an additional a Belkin USB Ethernet. Now, with those two network interfaces I ...
1
vote
0answers
350 views

Alternative to constantly editing hosts file

Every time I log into my work's VPN an automated script rewrites my hosts file, resetting it to some standard version that they manage. That only happens on Mac OS (I have a Windows laptop with the ...
1
vote
1answer
371 views

High Sierra DNS fails intermittently for LAN-local hosts

I have a local domain for my home network, which uses .loc as a TLD (not .local). Name resolution for hosts on that network always works using dig or nslookup from a terminal, but intermittently fails ...
1
vote
1answer
38 views

Confusing reverse DNS IP replacement, ever since I edited /etc/hosts

A while ago I was trying to set up convenient ssh to a server, so I added an entry to /etc/hosts (not real IP): # Host Database 104.111.11.1 dokku.1 I've realized since then that using ~/.ssh/...
1
vote
1answer
156 views

How to access external DNS on iOS when it is blocked

I need to access critical external website from an iPad which is blocked in our local network for unknown reason I yet to find out (not a porn, seriously!). IP of that resource is still accessible ...
1
vote
1answer
29 views

Hostfile not working for subdomain

I'm trying to setup custom A records for domains via /etc/hosts on my OSX 10.13.2 MBP. It usually works just fine, first time that it works only for 1 of the 2 domains: 1.2.3.4 dev.com (works; ...
1
vote
0answers
71 views

Using DHCP option 6 to set DNS server works but does not resolve queries, manually setting same IP works fine on iOS 11

I have an issue on iOS 11.2.5 tested on both an iPhone 6S and an iPhone 8. When DHCP offers the IP address of our local DNS caching server (on BIND9), it shows up in the settings page just fine, but ...
2
votes
1answer
56 views

macOS denying service

I reset my MacBook to factory settings 4 weeks ago, after I started having issues with missing libraries, etc., after messing around with a few 3rd party applications (SDKs and such). After resetting ...
5
votes
1answer
1k views

How to find all devices (IP Address, Hostname, MAC Address) on local network?

I've read almost every thread related to this, yet no one has quite made it easy to access a table like the following. IP Address Hostname MAC Address 192.168.1.10 | myAppleTV | 02:...
2
votes
2answers
40 views

MacOSX how to ping local Windows machine by using $machine_name.local?

I have home network with 3 devices: MacHighSierra Windows10 WDMyClould Bell Home Hub 2000 is the router, from my Mac, I can access #3 by doing ping WDMyCloud.local But the same thing didn't work ...
3
votes
2answers
1k views

IPv6 dns resolution on macOS High Sierra

My ISP provides me only with an IPv4 address. After setting up a connection to my university OpenVPN server, I get an IPv6 address. With an example IPv6 address www6.fit.vutbr.cz I can: host www6....
0
votes
1answer
1k views

How to fix Private Internet Access' kill switch?

When you enable Private Internet Access' kill switch, you can only have internet when you are connected to the VPN. When you disable it, you should have internet even if the VPN is not enabled. The ...
1
vote
1answer
795 views

Personal Hotspot not forwarding DNS requests to the interent on iPhone 7 with IOS 11

I have been using my iPhone 7 plus as a personal hotspot since I bought it. The hotspot worked fine with IOS 10. After upgrading my iPhone to IOS 11, the personal hotspot now exhibits the following ...
3
votes
0answers
452 views

MacOS mDNSResponder misbehaving with local DNS in VM

[VirtualBox 5.1.30 r118389 (Qt5.6.3), HOST: MacBook Pro High Sierra 10.13.1, GUEST: Ubuntu 14.04 LTS] My VM is setup with two NICs, one using NAT, the other using Host-Only Networking. My VM is ...
1
vote
1answer
37 views

MacOS DNS not checking alternates

[MacBook Pro, MacOS High Sierra host, Ubuntu 16.04 LTS Guest] I have a VM running in VirtualBox which has its own DNS server. I am also connected to a LAN that has a DNS server configured via DHCP. ...
0
votes
0answers
17 views

Can't ping address in certain wifi network

I usually ssh into the department's cluster to run things and recently I've been unable to do so because my Mac (MacBook Pro 13" Retina 2013, High Sierra) fails to access the address when connected to ...
1
vote
1answer
57 views

Mac & DNS - Setting up the nameserver

So, I am have been on a quest lately to secure laptops used by children & help with a small school computer lab. They are split between Macs & Ubuntu (Linux). One of my first rules was to ...
1
vote
1answer
371 views

How to add AAAA flag (IPv6) to DNS resolver configuration on Sierra?

I have working IPv6 interface with /64 prefix. It means I can connect to direct IPv6 addresses through browser but can't connect to IPv6 hosts like testv6.madore.org. The issue is in DNS ...
2
votes
1answer
171 views

How to set macOS Server to prevent DNS zone transfer?

macOS Server 10.12.6 documentation says that we should prevent arbitrary zone transfers out of our DNS server, and that the way to do this is to firewall port 53 for anyone not on our LAN, with ...
0
votes
0answers
48 views

dns-sd -X — how to automatically log external IP address when using a VPN

I'm trying to log basic network information automatically, namely the external IP address and local networks' BSSID and SSID, and I've succeeded to some extent. Step 1: There's a built-in verbose ...
7
votes
4answers
24k views

iOS 11: How to change DNS settings for cellular/mobile data?

Is it possible to change DNS for cellular internet? How can it be done without a jailbreak? I've tried Apple Configurator, but didn't find suitable settings.
10
votes
1answer
10k views

Flush cache of DNS on macOS Sierra & High Sierra

How to flush the cache of the DNS system on a macOS Sierra or High Sierra Mac? I have seen discussion of the following, but am not sure if this is the modern approach. And I am not sure what each ...
0
votes
1answer
475 views

Change hosts file does not have any effect

I have edited the /etc/hosts file on macOS 10.12.6. Then trying to flush the DNS services has no effect, why? Here is what I have done: cd /etc sudo cat hosts sudo cat -te hosts ##$ # Host Database$ ...
2
votes
0answers
557 views

macOS Sierra/High Sierra and IPv6 DNS via SLACC

In my (dual stack) network, a router provides IPv6 addresses and DNS servers (RDNSS) via router advertising. There is no DHCPv6 server running and I want my mac to accept the DNS servers being ...
0
votes
0answers
197 views

macOS Sierra + Cisco AnyConnect VPN: ping timeout / can't connect

Out of sudden when connected to VPN via CISCO AnyConnect, I cannot ping IP addresses behind the VPN. Public IP addresses can be resolved and pinged. scutil --dns result: scutil --dns DNS ...
0
votes
2answers
563 views

DNS Server keeps changing to 10.0.22.1 & .2 in OSX 10.9

My DNS Server keeps changing to 10.0.22.1 & 10.0.22.2 in OSX 10.9.5. This causes me to regularly lose internet access until I go into the network preferences pane and delete the two "incorrect" ...
0
votes
1answer
52 views

Mac mini-hosted WordPress websites won't load on any of the Macs on LAN

I have three Mac minis on our LAN, all of which have Yosemite and OS X Server, but only one is enabled as a web server. My problem is that I can see the WordPress-based websites hosted on this web ...
3
votes
1answer
251 views

MacOS Sierra - localhost not found while using Hugo (not related to Apache)

note this is NOT related to Apache and I'm not looking for Apache-centered answers. I am using the Hugo static site generator to create sites and trying to test on a MacBook running Sierra. I am ...