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 ...
2
votes
3answers
2k views

How to define DNS server in openvpn?

I setup an openvpn server with static key (certificate mode is not usable due to DPI at the national gateway), but I cannot successfully change the DNS automatically after the connection. I searched ...
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 ...
3
votes
2answers
55 views

How to locally validate DNSSEC?

I want to simulate the process of chain of trust validation locally , I do the following :- 1) signed my zone. 2) unbound installed , but i can not configure it for DNSSEC validation could you help ...
26
votes
7answers
16k views

Can I create override dns similar to writing in /etc/hosts without root access

I want to set a dns record that my browser will use, but I don't have root access, so I can't modify /etc/hosts. I need to do this for testing vhosts with apache, whose dns hasn't yet been set up. I ...
0
votes
1answer
1k views

Slow DNS resolve from curl/lynx etc

I have a strange issue with DNS resolving: Root of the problem is that I get curl errors: "Error executing HTTP request: name lookup timed out". Tried to ping some sites, all resolved fine (and fast). ...
3
votes
3answers
257 views

How to host a website on personal computer

I want to start hosting my website at my own computer as well websites of my friends too (say mini hosting platform). I learned Debian, Bind9 and Apache for this purpose. On my system everything is ...
3
votes
2answers
2k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
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
1answer
300 views

Server returning 'Not Found' for “www.host.com” but not “host.com”

My server is returning the correct paths for all of my domains as long as they are not prefixed with www. The following is one of my domains in it's simplest form: <VirtualHost *:80> ...
3
votes
1answer
764 views

Apache Request Hangs For 2 Minutes Exactly

I am experiencing some odd behavior with apache. I have requests that are hanging for exactly two minutes. The request could be one file one time, and then a completely different file another time. ...
9
votes
2answers
15k views

apache won't restart after adding VirtualHost conf file, why not?

In a CentOS 7 server, I get the following error when I type sudo apachectl restart after I add an include file at the bottom of httpd.conf: Job for httpd.service failed. See 'systemctl status ...
0
votes
1answer
22 views

PHP framwework, multiple sites and httpd and DNS

I'm wondering if this is possible: There is a PHP framework and someone made several sites, which can be accessible like this: .../index.php/aaa .../index.php/ccc I would like to somehow map DNS to ...
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 ...
6
votes
1answer
10k views

Debian cannot resolve hostnames

I have a problem resolving host names on Debian running on vmware. It just stopped working out of the blue. Somewhere after uninstalling percona server and deleting /etc/mysql . Initially it thought ...
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 ...
0
votes
0answers
31 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 ...
0
votes
0answers
98 views

why samba 4 is giving the following error attempting to join to domain

trying to join windows 7 clients to samba 4 that is using named as name server i am getting the following error: An attempt to resolve the DNS name of a domain controller in the domain has being ...
0
votes
1answer
146 views

Error in named.conf

I am getting the following error: Starting named: Error in named configuration: zone blk1999.lab/IN: loaded serial 2001062501 zone localhost.localdomain/IN: loading from master file named.localhost ...
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 ...
1
vote
3answers
3k views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
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 ...
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 ...
15
votes
4answers
18k views

Iptables to redirect DNS lookup IP and Port

I have discovered that my ISP (verizon) is intercepting all DNS traffic on port 53. Using iptables, I want to redirect all DNS lookup traffic to a specific IP and Port (5353). Any attempt for my ...
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 ...
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 ...
-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 ...
51
votes
5answers
44k views

What is the point of sshd “UseDNS” option?

I know what it does, but i don't know why. What attack(s) does it prevent ? Is it relevant for all kind of authentication methods ? (hostbased, password, publickey, keyboard-interactive ...)
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 ...
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 ...
3
votes
1answer
155 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
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 ...
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 ...
1
vote
2answers
2k views

Redhat 7 DNS Bind Failed to restart

I am getting Error while Restarting the Named.service in Red-hat 7 Here is my Lab Status and all the Command. Configure DNS in REDHAT 7 DNS Name p1.linux.com IP address 192.168.1.1/24 N/W ID ...
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 ...