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

learn more… | top users | synonyms

1
vote
1answer
214 views

OpenBSD with adsuck: nslookup works, other applications not

(The problem that nslookup works but other applications can't resolve name is asked very often, mainly for windows. I read a lot of these answers but none of them was applicable.) I use OpenBSD with ...
0
votes
0answers
232 views

Arch wifi keeps dropping

I recently installed Arch, wifi has been messing around. Dropping and generally not connecting. I fixed it by ruling it was DHCP not getting a lease in time, I assigned a static IP and all is good. ...
0
votes
1answer
129 views

DNS not resolving using IP rule for dialup modem

I am running Ubuntu 12.04. I have a HSDPA USB Modem, with which I can successfully dial in. It works fine as well when I set the default gateway (remote IP address) in the main routing table. But I ...
5
votes
3answers
26k views

Why can't I ping Google?

I can't ping google.com (unknown host). But I can ping IP addresses. I tried to ping the IP address of Google but it doesn't work. resolv.conf nameserver 8.8.8.8 nameserver 209.139.209.33 ...
1
vote
0answers
878 views

Getting Samba 4.1's “internal DNS” to update hostnames from dhcpd

Samba 4 comes with its own "internal DNS" which can be used rather than BIND. Since Samba 4's main new feature is AD replacement, I would figure that its DNS would function similarly to Windows ...
0
votes
2answers
245 views

Combining different DNS servers

My company uses DNS servers that provide access to internal systems, for example "build.company.de" is resolved accordingly if one of the internal DNS server is queried. However, the internal servers ...
3
votes
1answer
3k views

Why do DNS queries fail if the first nameserver is not recursive?

I have a Linux box (Ubuntu server 11.10) inside a Windows Active Directory domain, and is joined the domain using likewise-open. The resolv.conf file looks like this: domain mydomain.com nameserver ...
3
votes
3answers
3k views

How to disable DNS caching or override TTL for a certain hostname?

I've set up my own dynamic DNS service by using a script to automatically update the A record for a subdomain of one of my domains. The host with the dynamic IP address runs, among other things, a ...
1
vote
1answer
525 views

Mail Server Setup, MX Records, and Hostnames?

I'm a bit confused how mail servers work, and the process of setting them up. Say I have an domain called example.com, and I have an A record for it. I'll be using postfix/dovecot for this setup along ...
1
vote
1answer
2k views

How do I make dnsmasq obey the order of servers in resolv.conf

here's the generated resolv.conf # Generated by resolvconf nameserver 127.0.0.1 nameserver 208.67.222.222 nameserver 208.67.220.220 nameserver 192.168.1.1 what's going on in the log appears to be, ...
4
votes
3answers
788 views

Can I set my Debian box to use OpenDNS nameservers if it uses DHCP?

I have a Debian box with this in /etc/network/interfaces: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp auto wlan0 iface wlan0 inet dhcp wpa-ssid NetworkName wpa-psk NetworkPass and ...
0
votes
2answers
4k views

URL with hostname doesn't work but it works with IP Address

I have a very basic question here. This thing is puzzling me a little bit. I have one Ubuntu machine which is running 12.04 and I am connecting to that machine from putty in my desktop (which is ...
1
vote
1answer
176 views

Run domain on tomato/dd-wrt

it is there any way to run a domain on my router instead of running dyndns or other alternatives (Dynamic DNS) etc. on tomato or dd-wrt firmware ?
1
vote
1answer
62 views

DNS reverse query

When I do reverse DNS queries with IP address that I obtained from DNS query of one website, it shows many different domain names, why is it so? I thought if I do the reverse DNS query I will obtain ...
-2
votes
1answer
49 views

DNS Domain Issue [closed]

we are maintaining our DNS account to GoDaddy DNS Provider for our servers, Right now we have an problem, If someone has to register domain or sub-domain from any of other DNS provider or GoDaddy DNS ...
1
vote
1answer
125 views

How to resolve a hostname via nsswitch?

I want to test in a script whether a hostname resolves to something other than 127.0.0.1 as a pre-flight test for an install script. The tools I know (dig, nslookup) specifically query DNS. In my ...
4
votes
2answers
3k views

BIND9 as a DNS server refuses requests

I am trying to set up a DNS server on Amazon Linux using BIND9. It has to act as a master nameserver for a lot of domains. I have imported all of the DNS zone files using NamedManager (a web ...
3
votes
3answers
3k views

/usr/bin/host not picking up changes to /etc/hosts even after reboot

I have a Ubuntu Server 12.04 (amd64) machine on which, when I change /etc/hosts, the changes aren't picked up, even after a reboot. I am using /usr/bin/host to test, but none of the other programs ...
2
votes
2answers
78 views

Previously resolved hostnames

Is it possible to find previously resolved hostnames in linux? I have a host that I can currently not resolve, but I have resolved it earlier and would like to know which ip was resolved to.
2
votes
1answer
1k views

Dnsmasq white list for specific clients on network

I'd like to use dnsmasq to set up a white list for certain clients on my network. For instance, I'd like to have these rules for clients in the range 192.168.1.10 - 192.168.1.20: no-resolv ...
3
votes
1answer
167 views

Local DNS Server Refuses to Ask itself for DNS

I am running Debian 7 and have set up a DHCP and DNS server. Everything is working nicely, except for the server itself not following the DNS entries in BIND. The problem is that /etc/resolv.conf is ...
0
votes
3answers
525 views

Why do two Ubuntu systems in the same network behave differently in DNS resolution?

I have two systems, both running Ubuntu 12.04, which are within the same network (connected by hubs without routing logic). Both systems are configured quite similar, but not identical. In particular, ...
3
votes
2answers
635 views

Converting Webserver Logged IP Addresses to DNS

I'm trying to use a bash script to process a webserver log file and replace any IP's it finds with their corresponding DNS hostnames. An example entry of a single line from the log file is: ...
5
votes
1answer
554 views

getaddrinfo() from shell? [duplicate]

When you call ping name.domain, it goes through both /etc/hosts and the DNS resolver to obtain an IP. It could be an IP hard-coded in /etc/hosts, or it could be one from the DNS server. It does so by ...
1
vote
3answers
323 views

Debian cannot SSH to OS X by hostname (Windows OK)

I've seen some questions asking why xxx can't connect to MyMacName.local, which answer regarding Avahi as a requirement. I don't think I am in the same category as I can successfully connect to a ...
1
vote
2answers
662 views

Resolving pseudo domain name to private IP

Assume I have a VM running on OSX with private IP 10.0.0.1 which can be accessed from the host machine. I was wondering how can I map a pseudo domain, *.app.dev, to the private IP on my host machine ...
3
votes
4answers
4k views

How can I improve nscd's cache hit rate?

My Goal: Let nscd maintain a fairly large DNS cache in excess memory since I have it available. Description: I have a webserver that has a broadly dispersed but high-repeat user base. It has plenty ...
1
vote
2answers
2k views

DNSCrypt, Unbound and DNSSEC

I would like to have an encrypted DNS queries + a DNS Cache + Domain Name System Security Extensions (DNSSEC) . I used this bash script to install DNSCrypt and I choosed to use dnscrypt.eu servers : ...
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 ...
3
votes
1answer
674 views

Bind9 — How to find which programs are making which dns lookups?

Using bind9 on a laptop shows lots of nonsense domains when network connectivity is down: Oct 18 19:56:18 lap3 named[1536]: error (network unreachable) resolving './NS/IN': 128.63.2.53#53 Oct 18 ...
1
vote
1answer
561 views

How to allow recursion for only 1 zone?

Is it possible to allow recursion for a single zone in BIND 9.6?
3
votes
1answer
121 views

Two DNS servers, both incomplete

In my company we have 2 DNS servers: one for the internal hostnames and one for Internet. I tried to configure both in my Network Manager, who result in having the two DNS server IPs in my ...
3
votes
2answers
421 views

Configure Spamassassin to use URIBL and Google Public DNS

I use Google Public DNS servers on my mail server. However, URIBL and other spam blocking sites (which work over DNS) block major DNS sites such as Google Public DNS. I think if I run my own DNS ...
4
votes
1answer
992 views

Why is my computer trying to send ICMP type 3 to OpenDNS?

In my firewall logs I see lots of entries like this. IN= OUT=eth0 SRC=192.168.1.105 DST=208.67.220.220 LEN=148 TOS=0x00 PREC=0xC0 TTL=64 ID=55705 PROTO=ICMP TYPE=3 CODE=3 [SRC=208.67.220.220 ...
3
votes
1answer
1k views

/var/named/chroot/var/named: device is busy

When I restart the named service, it gives me this error: ./etc/init.d/named restart Stopping named: [ OK ] Starting named: Error in named ...
5
votes
1answer
7k views

Using DNSMasq for Local Hostname Resolution

I'm working on setting up a home intranet for me and my roommates. My idea is that we'll be able to store things like past utility bills in a place that's more accessible than a drawer in the kitchen ...
10
votes
2answers
6k views

dig vs nslookup

Why sometimes those two commands printing different results? ~$ dig facebook.com ; <<>> DiG 9.9.2-P1 <<>> facebook.com ;; global options: +cmd ;; Got answer: ;; ...
0
votes
1answer
167 views

Host domain name pointer in linux

I setup a Linux server and run a command, host wan ip in terminal and it shows ... domain name pointer mail.domain.com. How do i replace current new mail.domain.com to mail.newdomain.com?
1
vote
0answers
367 views

How can I use an ACL in BIND to forward requests per zone selectively?

I have some zones declared internally as forwards to another DNS, but there is a hefty amount of IP space we do not want to be forwarded in this manner for these zones. These forwards are for very ...
3
votes
1answer
511 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. ...
6
votes
1answer
2k views

resolve the server hostname of a dnsmasq server with multiple subnets

I have a self-made Linux router running dnsmasq. It has two different NICs through which clients are connected; one of them has the subnet 192.168.1. and one the subnet 192.168.2.. My ...
0
votes
1answer
82 views

Does wildcarding significantly hurt BIND Performance?

I have enabled RPZ on my BIND 9.9.4 DNS server and I wanted to be able to wildcard some records in my RPZ zone, but I am afraid of the performance hit this might cause. Does anyone out there have some ...
1
vote
2answers
227 views

Debian machine makes repeated requests to DNS for <gateway_ip>.in-addr.arpa

I recently forwarded all my router logs to my Debian machine. I noticed a repeated entry in the router logs. The entry is: Sep 14 17:07:29 192.168.0.1 [Host 192.168.0.1] UDP 192.168.0.2,38048 --> ...
2
votes
1answer
138 views

Question about MX records and mail delivery?

Let's say, we have multiple mail servers in DNS records. If someone is sending a mail, the outgoing mail server will check the MX and contact the first server with the lowest cost. If this server ...
3
votes
2answers
289 views

Communication with MX records [closed]

I have a short question about the topic of MX records. Let's say, we have multiple mail servers in DNS records. If someone is sending a mail, the outgoing mail server will check the MX and contact ...
5
votes
5answers
16k views

How to set DNS resolver in Fedora using network-manager?

I want to try out Google public DNS. For this I need to change the nameserver address. I know it's in the file /etc/resolv.conf, but whenever I start network-manager, it overwrites the values in that ...
4
votes
3answers
12k views

Can't connect to to internet. Debian Wheezy, pinging DNS address works

I have booted Debian Wheezy from SD card on a Beaglebone Black board. Version: debian-wheezy-7.0.0-armhf-3.8.13-bone20.img.xz, from http://www.armhf.com/index.php/download/ I have set up my ...
2
votes
1answer
683 views

Process calling getaddrinfo() at boot gets permanently stuck with bad /etc/resolv.conf?

I'm running pianod, a Pandora client/server, on a Raspberry Pi with Arch Linux ARM. I have pianod set up to run as a service at boot. It starts up before the network stack, so getaddrinfo() fails. ...
3
votes
2answers
3k views

How to safely reverse dns lookup on ip in a shell script

I'm trying to find out how to take in a hostname and pop out an ip address (reverse dns lookup). I came up with this but I'm not too sure it's safe across different linux distros: nslookup $ip|grep ...
1
vote
2answers
102 views

Configurable DNS cache for Linux

What I need is to configure a Linux machine, so that when user of that machine goes to www.somesite.com he/she is redirected to, say, 127.0.0.1. What is the best way to achieve it?