Domain Name System (DNS) is a service that provides the resolution of host names to IP addresses.

learn more… | top users | synonyms

0
votes
0answers
4 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 ...
1
vote
0answers
9 views

Configure Bind to use specific server as starting point for recursive query?

I'm attempting to setup a Bind DNS server which (for security purposes) is highly limiting. Essentially I only want to allow DNS queries to be made to a particular set of DNS servers which do not ...
4
votes
2answers
6k views

curl --resolve appears to do nothing

The --help output for curl lists a --resolve option, which states --resolve <host:port:address> Force resolve of HOST:PORT to ADDRESS I'm not having any luck getting it to work though. The ...
0
votes
0answers
12 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
17 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
44 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
9 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
1answer
29 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
7k views

CentOS 6 not regestering new hostname on Windows Server 2003

I rebuilt a Windows 7 Workstation with CentOS 6.5. The Windows 7 had a host name aaa attached to domain ddd.local. The new CentOS hostname is bbb. When I try to ping it: $ ping bbb ping: unknown ...
0
votes
1answer
54 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 ...
-2
votes
0answers
25 views

Script to test speed of a list of DNS addresses

I'm writing a unix script, I need a way to find the fastest DNS from a list of DNS addresses. I found how to check the response time of one DNS address: time dig a www.google.com @79.120.211.147 but ...
0
votes
0answers
27 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 ...
1
vote
3answers
49 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 ...
1
vote
2answers
2k 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
2k views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
14
votes
4answers
10k 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 ...
4
votes
0answers
25 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 ...
108
votes
16answers
147k views

How can I resolve a hostname to an IP address in a Bash script?

What's the most concise way to resolve a hostname to an IP address in a Bash script? I'm using Arch Linux.
3
votes
1answer
20 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
42 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
2answers
21 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
26 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.
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). ...
2
votes
1answer
120 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
2answers
741 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
65
votes
11answers
192k views

How do I set my DNS on Ubuntu 14.04?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make there just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
7
votes
2answers
16k views

Why dig reports the dns server as 127.0.0.1 when I'm using a external DNS?

I use unbound and usually use openDNS as my DNS server. When I run dig google.com say I get SERVER: 127.0.0.1#53(127.0.0.1). What exactly is this thing listening on port #53? is this unbound or is it ...
10
votes
2answers
14k views

Is there a way to get the Public DNS address of an instance?

I have a project wherein I need to update configuration files each time an EC2 instance is booted with the Public DNS address of the current instance. I'll be using Perl or Sed for this, so that's ...
1
vote
0answers
33 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
52 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
0answers
16 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
37 views

enable/disable domain redirection

My router can be joined by clientes. enable // I'd like to redirect all trafic 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 ...
8
votes
5answers
19k views

DNS queries not using nscd for caching

I'm trying to use nscd (Nameservices Cache Daemon) to cache DNS locally so I can stop using Bind to do it. I've gotten it started and ntpd seems to attempt to use it. But everything else for hosts ...
0
votes
1answer
53 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 ...
1
vote
2answers
174 views

Keep losing resolv.conf configurations

Every time i reboot raspi this resolv.conf files is cleaned. i normally add on this file the openDNS ips like below: # OpenDNS IPv4 nameservers nameserver 208.67.222.222 nameserver 208.67.220.220 I ...
0
votes
0answers
27 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 ...
3
votes
1answer
501 views

Simplest way to set up multiple subdomains to separate VMs running on single host

Problem: I´m planning to set up several virtualized centos, rhel or ubuntu guest machines on a single centos host server (most likely using KVM). Each guest VM is running an instance of a webapp + ...
0
votes
2answers
43 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 ...
0
votes
1answer
199 views

named.run file deleted but data left on disk?

Today I had a name-server stop resolving DNS due to the /var directory being full from the named.run cache build up. I tried removing all the files using: rm -rf name* However, although running ls ...
1
vote
2answers
259 views

Avahi commands not working in CentOS

I want to use Avahi tools for mDNS service discovery in CentOS 6.6. I have installed the following packages: avahi, avahi-tools, nss-mdns. I checked the Avahi daemon and it is running: $ service ...
1
vote
2answers
3k views

How can I update my dynamic DNS under OpenWRT?

I have an OpenWrt 10.03, and I need to update my dynamic DNS account (e.g., OpenDNS or DYNDNS) when my IP changes. How can I do this from the terminal?
-2
votes
2answers
57 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 ...
0
votes
0answers
13 views

Bind config options (recursion and forwarders)

I am trying to setup bind to authorize one zone and cash all other requests from provider nameserver. Do two options recursion and forwarders have linked values and affect each other? Should I list ...
2
votes
1answer
134 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 ...
1
vote
1answer
54 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
23 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 ...
8
votes
2answers
23k views

How to read the local DNS cache contents?

I know that on Windows I can issue ipconfig /displaydns and I see the local DNS's cache content. How can I list the DNS's cache content in Linux? I would like to get as much as cross-distro solution ...
0
votes
0answers
26 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 ...
1
vote
1answer
32 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
2answers
51 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 ...