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

0
votes
0answers
912 views

mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled

I'm using UBUNTU 14.04 as virtual machine on Windows using VMWARE , after logging I installed nmap but after trying to run nmap -sP 10.42.0.0 I get the following message mass_dns: warning: ...
1
vote
1answer
251 views

DHCP server with static IP not resolving hostnames (clients do)

Network Setup I have a server which I am trying to set up LXCs on I am using LXD which forces me to use DHCP DHCP is working fine already due to my setup I need to be able to access the containers ...
-2
votes
2answers
85 views

my linux pc not pingable using hostname

From a remote machine I am able to ping my computer by its IP address, but not by its hostname. How can I make it accessible by its hostname as well?
0
votes
1answer
208 views

DNS Query Script

I am trying to get all the A records for some domains. The best way I have found is to use https://www.whatsmydns.net and the nexcess tool. The issue is that it is very slow to copy paste them and ...
0
votes
1answer
99 views

setting up subdomain at centmin mod

I am in need of help at setting up subdomains in my CentOS using centmin Mod. This is what I have done so far. Purchase a VPS with IP address: xxx.xxx.xxx and hostname: ns.mydomain.com Install ...
0
votes
0answers
467 views

CentOS DNS Server for localhost

I need install the DNS Server (BIND - CentOS 7) to work only locally. I mean, the same CentOS that has the BIND will connect/search in the DNS, any other host will 'connect' with this machine. The ...
2
votes
3answers
180 views

Is it possible to set different DNS servers for different users?

Is it possible to set different DNS servers for different users? Say user test1 uses Google's DNS (8.8.8.8 and 8.8.8.8), test2 would use 0.0.0.0, and both test3 and test4 would use 127.0.0.1. Is ...
4
votes
1answer
608 views

why do queries with status “refused” get answers?

I'm wondering about why would that be. It's even stranger if you simply "dig +short" the record - you get the response, but clients can't make use of that. I've had a quick look at the RFC, but I was ...
3
votes
1answer
80 views

Proxify dns queries for bash command

I want to use different dns server (not tor, any dns server i set) for certain terminal command. Say it would looks like $ DNS_SERVER=8.8.8.8 dnsify ping example.com and it uses google dns. I know ...
0
votes
0answers
123 views

OpenVPN is working but not DNS resolution

I am using : uname -a Linux 2.6.32-042stab108.5 #1 SMP Wed Jun 17 20:20:17 MSK 2015 x86_64 GNU/Linux This is my server config: cat /etc/openvpn/server.conf | egrep -v "#|;" port 1194 proto udp ...
1
vote
3answers
88 views

Adding recursive entries into `/etc/hosts`

I'd like to add shorthands for various FQDNs into the /etc/hosts file, such as: pyrrha.compsci.university.org. pyrrha Is there a way to force the local DNS resolver to process the /etc/hosts ...
0
votes
1answer
94 views

How the command “dns-fix” works?

I had a problem on my DNS and after using this magical command, solved the problem. So I got curious: how this command, dns-fix, worked? I am using the Mint distribution. The command is standard.
3
votes
1answer
701 views

How to enable nameserver recursion?

On Ubuntu 14.04, when I'm performing a dig google.de on my machine, I get a REFUSED status (reducing to relevant lines): me@machine:~# dig google.de ;; ->>HEADER<<- opcode: QUERY, ...
1
vote
0answers
159 views

Using Ubuntu Server machine as a DHCP and DNS server to forward URL's to IP addresses

I'm inexperienced with Linux servers but I've done okay so far - basically I want this machine to dish out IP addresses via DHCP (done) and then I also want it to act as a DNS server that simply sends ...
1
vote
1answer
707 views

nc command can't lookup DNS name

I have lots of clients need to check if the port is opened on remote server. I use nc command to do this job, however it always give out DNS lookup failure, but I can successfully find the DNS record ...
2
votes
1answer
31 views

Is it possible to mix zones with DNSSEC enabled and disabled in BIND?

I have a dozen domains configured in a set of zones in BIND and I need to add a new one with DNSSEC enabled. If I enable DNSSEC: options { dnssec-enable yes; dnssec-validation yes; }; Will ...
0
votes
0answers
106 views

enable/disable domain redirection

My router can be joined by clients. enable // I'd like to redirect all traffic to an IP (13.37.42.1), I mean any IP and any domain. disable // Then I d like to be able to disable it. Then clients ...
0
votes
1answer
71 views

Forward traffic from first to second server

I have 2 Servers, 1 normal Server without ddos protection and 1 ddos protected v-Server, i try to forward traffic through the v server to the main server. So if someone access to my v-server like tcp ...
2
votes
2answers
5k views

Keep losing resolv.conf configurations

Every time I reboot raspi, the resolv.conf file is cleaned. i normally added to this file the openDNS IPs as shown below: # OpenDNS IPv4 nameservers nameserver 208.67.222.222 nameserver 208.67.220....
0
votes
0answers
47 views

How Can I Set Up DNS Server on Virtual Network w/out Internet?

I'm trying to set up a virtual network populated with 4 CentOS 7 servers for testing purposes. I have successfully configured a Kerberos server and a secondary Kerberos server. However, when it ...
0
votes
2answers
217 views

Add more DNS nameservers in OpenBSD

I wish to add more DNS nameservers such as 8.8.8.8 in OpenBSD 5.7. I understand that the current version of OpenBSD allows up to a maximum of three DNS nameservers. I have read the man pages related ...
3
votes
1answer
2k views

nslookup, dig, firefox ignoring /etc/hosts file entries

There is something terribly wrong with my current Debian install. Most programs like firefox, nslookup, dig etc. are ignoring entries in /etc/hosts file, actually I use this file for Ad-blocking. an ...
-2
votes
2answers
348 views

Preventing internal domains names being resolved with a external DNS

I have a site with a public registered domain name on Godaddy, let's say xyz.com. Unfortunately all internal systems and DNS were set with the same domain name internally. On a systems with access ...
1
vote
1answer
410 views

Alias name for ip address [closed]

I have a website which is hosted in local Server (CentOS 5.x) (Hostname: xxx.yyy.local, IP : 192.168.5.25). I can browse the site typing the server IP address in the browser from my Local Network e.g: ...
1
vote
1answer
55 views

dhcp3-server and strange DNS/NTP servers

I have problem with dhcp3-server 3.1.1-6+lenny4. My dhcp-server sends "strange" IPs for DNS and NTP servers in DHCP ACK despite configuration which doesn't have those IPs. In ACK packet we can see the ...
1
vote
1answer
126 views

any option to ignore a dns server ip from /etc/resolv.conf when doing nslookup?

We have a list of dns server IPs in /etc/resolv.conf. When doing nslookup for a particular scenario we would like to ingore the second entry below, so that naming resolution occurs via other 3 DNS ...
0
votes
1answer
257 views

How to check my DNS chain?

I want to use DNSCrypt to encrypt all my DNS packets, so I tried to do this: on /etc/rc.local : /usr/local/sbin/dnscrypt-proxy -a 127.0.0.1:40 -u _dnscrypt-proxy -d -l /dev/null -R dnscrypt.eu-...
2
votes
0answers
511 views

OpenVPN, resolvconf, and DNS domain resolution

While at site1, I need to connect to site2 via OpenVPN. Once connected, the OpenVPN site2 pushes a DNS nameserver and domain search options. This causes all name resolutions for site1 to fail. ...
1
vote
1answer
70 views

DNS server's not working in subnet

I have installed two virtual machines on my PC - Fedora Server and Fedora Live Workstation. Fedora Server has two network interfaces - one configured as NAT interface but other one - for working in ...
0
votes
0answers
46 views

Misc file corruption freebsd 10 and dns zone file

The computer is a VPS from Vultr. They tell me that "since it is loaded into RAM and not really a drive, nothing on the host would be causing this." One particular file, my zone file, will come up ...
2
votes
1answer
90 views

Resolv.conf modification breaks DNS [closed]

This is an odd one but I seem to be unable to solve it. I'm creating a visual user interface to modify internet settings on Debian Wheezy (and other debian versions/derivatives that are incidentally ...
0
votes
2answers
248 views

Bind doesn't resolve his authoritative zones

I'm currently setting a Bind 9 server on a CentOS 7 system, but I have some kind of unexpected behavior (even though it worked great in my VM). When I want to retrieve records from the zones it is ...
0
votes
2answers
83 views

single dns server in a private network

I have a netgear wireless router, single web server , 100 clients with 192.168.0.0/24 network. I haven't Internet connection and I am not connected to outside world. Now my goal is to provide the ...
0
votes
3answers
1k views

DNS Issue in ubuntu 14.04

I am facing DNS resolving issue sometimes in my Ubuntu 14.04.2 LTS trusty. I have configured my system with network manager to work with static IP assignment. I have also tried by changing DNS server ...
0
votes
2answers
261 views

How are the entries in resolv.conf automatically added?

I have installed a fresh Debian Jessie distribution today. It properly configured IP address through DHCP and also added nameserver entry in /etc/resolv.conf. Could you please explain how are those ...
0
votes
1answer
562 views

named-checkzone fails reverse zone file with NS has no address records (A or AAAA)

I'm setting up a private DNS server using bind9 on raspian. I'm receiving this error on my reverse zone file: named-checkzone dthacker.org db.dthacker.org.inv root@dns:/etc/bind# named-checkzone ...
2
votes
1answer
421 views

Bind DNS A Record priority

I am working on 2 scenarios: Scenario 1: DNS A Record with 2 IPs [Default it works on Round Robin], but I am looking for option where if First IP not reachable then share 2nd IP. Scenario 2: DNS A ...
5
votes
2answers
541 views

How to make my server use the hosts file to resolve names?

I have a computer with Debian at home, acting as a server with two Ethernet cards: eth0 connected to the router in DHCP mode and eth1 to a switch (static address) that holds four more computers. I'm ...
3
votes
3answers
3k 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 ...
2
votes
1answer
46 views

Does dnsmasq automatically update when running as a dhcp server as well?

I want to set up dnsmasq on a Raspberry Pi to use as a DNS server for my home network. My goal is to have a setup where when a new device is connected to the home network, it can be addressed by its ...
1
vote
1answer
801 views

Centos 7 Slow Resolve

After installing Centos 7, I noticed that DNS lookups for addresses saved in /etc/hosts take long time, here is example: time curl -X get http://localhost real 0m0.159s user 0m0.004s sys ...
1
vote
3answers
52 views

Debian dns “A” record used by another domain?

I have a Debian Wheezy server with a domain name and a static ip address. The domain name's "A" record set to my server's ip address. Everything works fine. The problem started when another guy set my ...
4
votes
0answers
504 views

dhcp ipv6 dynamic prefix delegation

I'm trying to setup Linux-based home gateway with IPv6 support. IPv4 configuration is finished and I'm using IPv4 NAT, ISC DHCP for addresses allocation, PowerDNS for local DNS setup, PDNS recursor to ...
0
votes
0answers
215 views

Unable to capture DNS requests on server

I am trying to route all DNS queries from my computer through my server. My laptop seems to be sending the queries to the server, but I'm unable to monitor them on the server. On the client (my ...
1
vote
2answers
1k views

Kali Linux openVPN does not pass the DNS Leak test

I recently installed Kali Linux on VMWare. I was able to successfully install openVPN following these instructions, but it seems that it does not pass the DNS Leak test. Is there anything that can fix ...
2
votes
2answers
2k views

How to increment serial number in bind9 dns zone

I have a dns zone, which has serial number: 2015040500 Today I am going to add some CNAME records there, so I am interested in how to increment serial number, I mean should I change it based on today'...
3
votes
0answers
89 views

OpenVPN nameservers ignored by NetworkManager or whatever

I'm using Elementary OS. I've followed a dozen suggestions from different websites and nothing helps. I use OpenVPN client to connect to an office network. The company I work for has provided me the ....
1
vote
0answers
152 views

Can not reach local DNS server for local dot domain subzones because firewall returns gateway IP

I have pfSense inline between my cable modem and my switch, on pfSense I have a NAT port forward on 53 to my local DNS server which I want to serve local subzones to the LAN with. Right now when I dig ...
2
votes
0answers
111 views

How is resolv.conf maintained when there are two network cards?

I have a Debian Wheezy VMware virtual machine guest with two network cards. One is in bridged mode and has access to the internet. The other is in host-only mode and does not. Some process, perhaps ...
1
vote
1answer
5k views

openwrt: can't change dns server setting in order to resolve non FQDN hostnames

ssh'ing to my openwrt (ver. 10.03.1-RC6) shows that there is something wrong with its dns server: root@OpenWrt:~# nslookup starkill Server: 127.0.0.1 Address 1: 127.0.0.1 localhost. nslookup: can'...