Domain Name System (DNS) is a service that provides the resolution of host names to IP addresses. Use the [tag:dns] tag when you are troubleshooting DNS issues, configuring a DNS resolver or server, or are trying to understand DNS's involvement in your situation.

learn more… | top users | synonyms

1
vote
1answer
22 views

as a Non-root-user,can I change DNS for me in linux? [on hold]

Environment is redhat I don't have privilege but now /etc/resolv.conf is: # Generated by NetworkManager # No nameservers found; try putting DNS servers into your # ifcfg files in ...
1
vote
3answers
64 views

Is there any way of speeding up this DNS script I made? [on hold]

Part of my work is doing a lot of different DNS lookups, so I created a script that displays the information that I need in a neat fashion. Problem is it's not very fast. Doing a bash -x I can see ...
0
votes
0answers
19 views

creating pid under /var/run with dnscryypt

I have installed dnscrypt. It works but I had to create the pid with root in /var/run. I tried at first creating the PID dnscrypt as user nobody but got permission denied every time. The code below ...
0
votes
0answers
23 views

Linux Mint keeps dropping /etc/hosts [on hold]

I reloaded my machine two days ago. In the proccess of restoring my configuration I accidentally over-wrote my /etc/hosts file without making a backup. Since then, I have an issue with any of the ...
0
votes
3answers
24 views

Can I skip some IPs returned by DNS round robin?

archive.ubuntu.com returns 4 IPs. 2 of them are much faster, the slowest one is an order of magnitude slower. Can I disallow some IPs selectively?
3
votes
2answers
79 views

Bind9 denied query

I created a bind9 based DNS server to work only in forwarding mode: This is my named.conf.options file: #acl goodclients { # localhost; # localnets; #}; options { directory ...
0
votes
1answer
48 views

DNS not working on Debian jessie

I have properly setup resolvconf, which properly sets up /etc/resolv.conf: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR ...
0
votes
0answers
24 views

Docker dns failure

I launched Concourse CI worker with Boot2docker on OS X. Docker info: Client: Version: 1.11.0 API version: 1.23 Go version: go1.5.4 Git commit: 4dc5990 Built: Wed Apr 13 ...
0
votes
2answers
24 views

Moving up DNS domain between webhosting servers

first post over here. Until yesterday I had a virtual shop working in a VPS webhost site, but because of the quality of service it was decided to move the whole webapp to another webhost, in a ...
1
vote
1answer
495 views

No DNS resolution after upgrade from ubuntu 14.04 to 16.04

I upgraded ubuntu 14.04 to ubuntu 16.04 and I have a problem with the internet connection. Specifically, DNS after update stopped working. For debugging purposes I set the only DNS 8.8.8.8, but name ...
0
votes
0answers
40 views

No internet connection after update from ubuntu 14.04 to 16.04 [duplicate]

Is there anyone who may help me with the following problem? I upgraded ubuntu 14.04 to ubuntu 16.04 and I have problem with the internet connection. Secifically, DNS after update stopped working, I ...
1
vote
1answer
18 views

pointing Linux DNS server from one sub domain to another subdomain

I have DNS server to my domain abc.com. Need to point my sub domain xx.abc.com to another subdomain xx.def.com. As it's hosted in xx.def.com, I will get any IP, so they will provide only subdomain ...
3
votes
1answer
28 views

Finding out what DNS server are being used

Using dig I can query a specific DNS server for some DNS records, for instance dig example.com A @192.168.1.1 Where in this instance 192.168.1.1 is my router's ip. Is there a way, using dig or ...
1
vote
1answer
48 views

DNS problem > If I disable recursion, I can't ping my result

I have configured dns server, and if i enable recursion, I can ping and got the result. [root@seobd ec2-user]# nslookup google.com Server: 52.10.197.195 Address: 52.10.197.195#53 ...
0
votes
0answers
30 views

Connect to commercial VPN on OpenBSD 5.9

I recently installed OpenBSD 5.9 and I'm trying to get it functional enough to use as a replacement for Debian. One thing where I hit a brick wall is connecting to my VPN. I use a commercial VPN which ...
1
vote
2answers
30 views

reverse slave DNS server zone file not transferred

I am using amazon free tier with RHEL 7and configuring master and slave dns server. From master everything is ok, but slave I couldn't find result. Also I would like to know how can I secure my dns ...
0
votes
1answer
49 views

why resolv.conf is changing

I have a very strange issue in my Linux machine - Red Hat 6.7 version when I update my resolv.conf file as the following: options attempts:2 options timeout:1 search usa.Pe.corp ...
0
votes
2answers
22 views

Website is active but domain name not showing on WhoIs lookup from Linux command-line

I am trying to lookup the WhoIs entry for the following domain: anorien.csc.warwick.ac.uk However, while typing the URL directly into the browser displays a web-page, when I type: whois ...
3
votes
1answer
58 views

What ports need to be open on a firewall to access the internet?

Let's say as the example that I have a firewall that blocks ALL ports from all sources/destinations. What ports would I need to open to be able to successfully run: ping google.com ...and are ...
-1
votes
1answer
52 views

From an IP how can I get a DNS entry? [duplicate]

In a bash, I have an IP like 104.16.117.182. This is the address of unix.stackexchange.com. But, from the IP, how can I resolve it to the hostname? Like: >>> magic 104.16.117.182 you get: ...
0
votes
0answers
32 views

Samba4 DNS - clear old DNS records

Creating AD 2003 domain using Samba-4.3.4 with internal DNS. ISC-DHCP as a server. On Debian. DNS updates comes only from DHCP-server. What tool do I have to use to clear old DNS records, or what ...
3
votes
1answer
48 views

Configuring FreeBSD to get IP from my FreeBSD DHCP Server

I have a scenario where I have two FreeBSD machines. I setup one to be a DHCP server so it can lease IP address. I have provided IP ranges, default DNS , host name , and all other settings in my ...
1
vote
0answers
28 views

How to proxy nmap and dns resolution of nmap

How to use nmap and dns resolution of nmap over proxy? I tried proxychains, but for dns resolution it doesn't work, it's known bug as I read on some forums. It works well without dns_proxy feature in ...
1
vote
2answers
57 views

I can ping IPs but can't resolve domains

I have Xubuntu 14.04 installed on my server. network-manager is not installed. It seems to have lost its ability to resolve domains, and I'm not sure where to begin diagnosing the issue. ping 8.8.8.8 ...
0
votes
0answers
20 views

top command shows dnss running at 290%

We're running software on a CentOS 6.2 virtual machine and it's been crashing quite a lot lately and keeps running slow. I checked the RAM usage, but that's only using 4GB to 5GB of the available ...
0
votes
1answer
22 views

Bind RPZ config with domains of various level

I use RPZ to blacklist some domains and my configuration looks like: *.com A 127.0.0.1 mydomain.net A 127.0.0.1 if i query a whatever domain .com it works correctly giving me 127.0.0.1 let's ...
0
votes
1answer
22 views

What is “Localhost” binding in DNS forwarder in pfSense?

Trying to debug some network problems, I found that my DNS forwarder is configured in the following way: Although many entries stands for my WAN interfaces and LAN stands for LAN one, I don't ...
1
vote
2answers
97 views

How to stop dhclient from updating resolvconf on Debian?

I want to use certain DNS servers regardless of whatever I get through DHCP. I'm trying to configure dhclient to ignore those, but I can't seem to get it to work. Per advice from this article I added ...
0
votes
2answers
40 views

Hostname troubles

I am trying to change the hostname on a Linux RHEL6.5 box and have changed it in /etc/hosts and in /etc/sysconfig/network, as I have read.. The command hostname'now returns the new hostname, but ...
4
votes
1answer
49 views

host returns 0 for a non existing name

host usually returns 0 for existing hosts $ host www.google.com ; echo $? www.google.com has address 172.217.16.132 www.google.com has IPv6 address 2a00:1450:400a:805::2004 0 and 1 in case of ...
1
vote
1answer
74 views

How to know where resolv.conf entries come from?

I use resolvconf for nameserver management because my OpenVPN requires it. However, I notice that it generates nameserver information that is not exactly how I would want it: # Dynamic resolv.conf(5) ...
2
votes
1answer
76 views

Why does postfix copy /etc/resolv.conf to its chroot too early, causing DNS failures?

Edit: For anyone else having this problem, this question was actually was very badly asked/understood and a better description of the problem (and the correct solution) can be found here. I'm trying ...
0
votes
0answers
25 views

How to configure isc-dhcp-server to offer upstream DNS servers?

Every example dhcp.conf I can find has hard coded DNS servers - typically the google public DNS addresses... option domain-name-servers 8.8.8.8, 8.8.4.4; If I leave out the option ...
0
votes
2answers
75 views

SSH always connects to the same IP address [closed]

No matter what the host is, SSH keeps trying to connect to 162.13.177.241. Command ssh -v user@host Output debug1: Connecting to 162.13.177.241 [162.13.177.241] port 22. My /etc/hosts file is ...
0
votes
1answer
25 views

Can sendmail be made to refuse connections if NIS or DNS are down?

We run a sendmail 8.14 server for a domain which has its user database managed in NIS. My nsswitch.conf is pretty vanilla: passwd: compat group: compat shadow: compat hosts: ...
3
votes
1answer
154 views

Configure BIND as Forwarder only (no root hints), encrypted + RPZ blacklist / whitelist all together

My setup is getting more complex, generally I tend to divide things in pieces and assemble them together by myself. But it seems this time I need more help to get the whole gears working together. ...
0
votes
2answers
35 views

sed to change dns log string format

I want to use sed to change the following text: (3)www(5)first(3)nth(6)domain(3)com(0) to: www.first.nth.domain.com Can each group between the parenthesis separators be captured and then ...
1
vote
2answers
62 views

Network has no ping and can't resolve hosts

This is the config on /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 TYPE=Ethernet UUID=c7sdfsdf-dfgdgdfgdgd-dg ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=x.x.x.x ...
0
votes
0answers
51 views

Configuring Dynamic DNS on CentOS 7 without dhcpd service

I have a CentOS server on which I configured DNS but it doesn't serve as a DHCP sever, since I have a d-link router which serves as such (DHCP is enabled on it). Is there a way I can configure Dynamic ...
0
votes
1answer
40 views

Ethernet Connected But No Internet

I am trying this on Intel Galileo Gen 2 which runs Yocto Linux and I am unable to connect to Internet using Ethernet. I have WiFi card but that doesn't connect as well. I have tried following commands ...
4
votes
1answer
186 views

DNS server for blacklisting tons of domains and also some TLDs

I'm trying to setup a basic DNS server for my lan that is able to put in a nullroute or 127.0.0.1 lots of domains. The domains I want to block come from a list but I also want to block some domains ...
0
votes
1answer
25 views

Domain forwarding/masking

We have to redirect/forward all HTTP(S) requests from one web server A to a web server B (which will show the downtime info) only if the server A is not accessible. Can we use DNS forwarding for this ...
0
votes
0answers
51 views

use ufw to block all incoming/outgoing domain requests except my chosen one

I'm trying to allow port 53/udp to query ONLY to google's 8.8.8.8 and listen from it. I don't want my PC to accept offers from any other DNS. I'm testing this theory by connecting my PC DIRECTLY to ...
0
votes
0answers
17 views

Openvpn clients discovery through dns

I have got an openvpn server in germany and various Linux centos clients connecting to him. The first and difficult thing that I'm noticing, is the impossibility to have got resolv.conf updated by ...
0
votes
0answers
17 views

Parrot DNS configuration? Debian

I'm running Parrot 2.2. kernel linux 4.3.3-parrot-amd64 MATE 1.8.1 Cable plugged in and appears to be connected. I pinged google.com and term said ping: unknown host google.com My buddy told me to ...
0
votes
2answers
36 views

How to find out the service name, that is required for a SRV record?

Im pretty new to Linux so here is my question: Is there any command or any other way (exept googling) to find out the service name that is required for a SRV record (port forwarding? I am using a ...
-1
votes
2answers
61 views

No internet on Linux Mint 17

I have been using Mint 17 for the past 2 months now and it didn't show any problem in networking. Recently, however, when I connect to WiFi it works fine for a while, but when I leave the system idle ...
0
votes
1answer
66 views

Forward ALL incoming HTTP requests to one of two servers based on subdomain?

I have two Debian Jessie servers. One is my home server that I use for personal/hobby stuff, the other is my development server for work. For arguments sake lets say... Personal: 1.1.1.1 ...
1
vote
1answer
84 views

Does a wifi router have to handle DHCP for its clients?

I'd like to manage the IP addresses within my network a little better than my router currently allows. But I have (what is potentially a stupid) question. Before I embark on a journey of learning and ...
1
vote
0answers
48 views

How to avoid curl trying IPv6 name resolution

From a docker container when I try to curl 'another container name', curl first tries to resolve the name to IPv6. This causes few seconds delay because the web server is not reachable over ipv6. I ...