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

learn more… | top users | synonyms

7
votes
2answers
12k views

understanding DNS in ubuntu 12.04

I have Ubuntu 12.04 installed, and also 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 ...
2
votes
2answers
925 views

In a recursive dns query what happens ttl = 0?

in name resolution (current version of bind), what happens when a recursive answer reaches ttl 0 on the return trip?
2
votes
4answers
2k views

Make nslookup use specific interface

On my computer I have two network cards. Both are using different Internet Providers service. Both Internet service provider have different DNS server and their IP address are known to me. I want to ...
1
vote
1answer
2k views

How to query RIPE database on the command line?

Using the stock whois (on Fedora) I can easily get information for an IP adress: $ whois SOME_IP % This is the RIPE Database query service. % The objects are in RPSL format. % % The RIPE Database is ...
2
votes
1answer
1k views

Static IP address shifting to 192.168.1.251

I have a system with a static IP address of 192.168.1.150. I configured /etc/network/interfaces manually (i.e. without using NetworkManager.) It is a web server hosting three sites. I am having ...
11
votes
1answer
4k views

How can I override the /etc/hosts file at user level? [duplicate]

Possible Duplicate: Can I create a user-specific hosts file to complement /etc/hosts? In short: I would like to know if it is possible to get a ~/hosts file that could override the ...
21
votes
4answers
20k 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 ...)
2
votes
1answer
1k views

How do I make a registered domain name resolve to a local/private IP address

I have a Debian Linux server running on my local network. I also have port forwarding set up on my router so that computers outside my network can use my domain name and get to my website/FTP/SSH ...
2
votes
1answer
496 views

Strange issue with curl/lynx and non resolving domains

I have a weird issue on my server in that if I use curl or lynx to try and access a URL that doesn't exist (say a non registered domain, or a domain that's not in DNS), I don't get an error, it ...
1
vote
2answers
553 views

dig @nameserver doesn't work

I have Ubuntu 12.04 with BIND9, working just as a caching server (forwarding to 8.8.8.8). When I use, for example, dig +norecurse @l.root-servers.net www.uniroma1.it, I obtain the following output ...
1
vote
2answers
931 views

Change default DNS on openvpn connect

I am using Network Manager on Ubuntu 12.10 to connect to an openvpn server. The connection works without problems. However, when I connect, I would like to change my default DNS server to a server ...
0
votes
2answers
713 views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.
2
votes
1answer
388 views

CNAME: Mail address gets rewritten

I have a problem with receiving mails. I do not know if my server or the server of the sender is wrong configured. I have a domain daniel-marschall.de which has following DNS RR: ...
1
vote
2answers
756 views

How can my server detect IP changes in order to notify my dynamic-DNS provider?

Just set up ubuntu server, which has a dynamic ip. I am looking for a way to keep my dns server updated. Im using entrydns to do this and they provide the following command to update the server. curl ...
2
votes
2answers
2k views

DNS Master vs Slave and Primary vs Secondary

I'm a little confused about the difference between a "secondary name server" and a "slave name server" and a "primary name server" and a "master name server"   I understand that a slave name server ...
1
vote
2answers
2k views

How to assign multiple fixed ip address for one domain?

I'm running dnsmasq, address=/chat.freenode.net/130.239.18.172 address=/chat.freenode.net/140.211.167.105 But seems dnsmasq only recognize the last record, what should I do?
1
vote
1answer
403 views

How can I resolve local IPs to hostnames? [duplicate]

Possible Duplicate: How to make a machine accessible from the LAN using its hostname I have is a simple home network with a few machines connecting through DHCP. If everyone and their ...
1
vote
2answers
98 views

Is there some kind kind of hosts.additional file for Linux

If you have a list of servers all linking to each other by static addresses, is there some kind of hosts.additional you can use as some kind of file based DNS? ie The hosts file contains static ...
6
votes
1answer
341 views

Why the difference between network addresses reported by hostname and ping?

I have tried hostname and ping in a cluster machine, with different outputs. I am wondering what is the difference between the two? For example, on the same machine, hostname outputs node4.XXX and ...
1
vote
1answer
400 views

Changing host file in Ubuntu

I tried to change /etc/hosts to change a local DNS entry, so I can map any website name to any IP, but it isn't working. How can I debug it?
5
votes
2answers
2k views

What is resolv.conf and why VPN client's hack it?

As stated in a previous question I want to connect to 2 VPN servers at the same time and for each connection specify the IPs of computers I want to reach with it. One of this VPN connection is done ...
1
vote
1answer
678 views

Howto use Google DNS with ppp

I have a mobile broadband device that I use to connect to the internet. I wish to use the google dns service, their nameservers being 8.8.8.8 and 8.8.8.4. I add them to /etc/resolv.conf but when I ...
1
vote
1answer
306 views

possible spots to configure BIND-DNS forwarders

i'm investigating our BIND's configuration and can not figure out how it is aware of it's next name server to ask for some domain he's not authorative server for... e.g. home domain is ...
2
votes
2answers
707 views

BIND server doesn't recognize my zone properly

I'm pretty new to BIND so I was hoping maybe someone can help me understand why I can't resolve. What is wrong? named.conf options { listen-on port 53 { localhost; 10.30.0.10; }; ...
3
votes
1answer
399 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 + ...
3
votes
1answer
171 views

How to skip DNS checkup while I'm disconnected from Internet

I use RedHat machine. /etc/resolve.conf was set to nameserver 8.8.8.8 and it works well. I'm wondering how to connect my machine if it's disconnected from internet? It seems that if DNS of 8.8.8.8 is ...
4
votes
1answer
988 views

Creating a new TLD for private network

I want to setup a new TLD (foo.) for my the private network so that I can host some child domains which will be accessible from within the network. For this purpose I have setup a DNS server ...
4
votes
2answers
340 views

Password protecting a system file? (e.g. /etc/resolv.conf)

I am trying to parental control myself by restricting web access via OpenDNS. The OpenDNS account password will be handed to someone trustworthy. Now, I want to put some restriction on the ...
8
votes
4answers
5k views

How to log all my DNS queries?

How can I create logs of every DNS query that my computer makes along with the responses it gets?
1
vote
2answers
374 views

bind9named binary missing - not starting

I have just compiles and installed BIND 9.9.1-P1 on Debian 6.0 as the version in the repositories is too old for Samba4, and am getting the said error. I have been looking for source for named, but ...
1
vote
2answers
575 views

Force usage of DNS server provided by DHCP?

I got a preconfigured debian image that gets it's network configuration by DHCP, however the DNS server is/was fixed to 8.8.8.8. This was configured using /etc/resolv.conf, so I deleted all the ...
1
vote
2answers
1k views

Different domains for multiple VM's on host with one WAN IP

I've got only one WAN IP address bound to KVM host system and multiple VM's with internal IP's, say, 10.0.0.1/28. On the other hand I have multiple domain names bound to host system WAN IP. The ...
0
votes
0answers
1k views

Mail Server not working?

I am trying to setup mail server since a long time but as I am new to Linux I have unsuccessfully configured it to the best as I could but now I need assistance. I have installed it using the links ...
2
votes
2answers
3k views

debian, problem with DNS

When I type in "google.com," firefox tells me that the server is not found. When I type in the IP address of google, it works just fine. I was playing with this computer at another place and it ...
3
votes
1answer
480 views

Verbose DNS query to see DNS query order?

I typically determine the IP of a host by doing: $ host -t A example.com. Is there a more verbose version of this that tells me whats happening in the background, specifically the order of what is ...
1
vote
1answer
494 views

Using google DNS in netcfg

how can I set up my netcfg profiles to use the google DNS servers? I've tried IP = 'dhcp' DNS = '8.8.8.8' but that didn't cut it.
1
vote
1answer
3k views

DNS Issues on RHEL 6

I'm experiencing some DNS issues on a new RHEL 6 virtual machine. Ping is working fine to an IP, but the machine is unable to resolve any names. I've tried adding Google's DNS servers (8.8.8.8 and ...
7
votes
3answers
12k views

Reverse DNS lookups slowing down network operations on LAN

Environment My LAN setup is quite basic: A router connected to the ISP's modem and the internet My development pc directly connected to the router The router provides DHCP but does not run its ...
4
votes
2answers
5k views

How to get networkmanager to configure domain specific name servers with openresolv + dnsmasq

I often connect to multiple network simultaneously. Each of these networks provide nameserver configuration via dhcp. E.g. Network 1: (eth0): domain company1.corp # nameserver 192.168.0.253 ...
2
votes
2answers
3k views

How can I reset or lower the serial used in BIND DNS server's “SOA” record?

I use BIND as my DNS server at home. For my SOA record (start of authority) I always use a serial in the recommended format YYYYMMDD## where ## is the counter for changes on that day. ...
0
votes
2answers
426 views

dig returns different IP address when dropping the “www.” from domain name

I have performed a dig on my domain name used on my site and I seem to be getting different results when I drop the "www." from the lookup. I am concerned this is causing me issues within my ...
3
votes
1answer
740 views

configure dhcp client without accepting nameserver entries

I am trying to configre my openSuSE 12.1 machine as DHCP client, but especially do not want it to set the name server entries to /etc/resolv.conf it has got from DHCP server. Can I do it on the ...
4
votes
2answers
712 views

Using a secondary DNS when lookup fails in primary?

I use a VPN to connect my development machine to my school's CS dept. The development machine is Ubuntu as we do C programming in Unix. I used vpnc to do that. The school uses some DNS entries that ...
2
votes
2answers
3k views

Force to use specific DNS provider at network

OpenDNS offers a quite simple way for internet filtering by categories. Of course who could get the correct IP address can easily bypass the filter but it would be enough for my expectations. The ...
2
votes
2answers
2k views

Domain resolve problem with stock Debian

I have a simple install with Debian as a guest in Virtualbox. I installed the resolvconf package. The resolv.conf file is this: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
2
votes
4answers
507 views

Can someone recommend a Linux Distro for purposes of just running a DNS?

I'm looking for an easy to setup Linux distro for just running a DNS server (and nothing else) with something easy to setup like DNSMasq. At home I run OpenWRT with DNSMasq on my Router, and at work ...
2
votes
1answer
9k views

Clearing DNS Cache in Linux

I work on Linux on my laptop, I could not access a particular website using the URL, so I used sudo /etc/init.d/nscd restart in order to clear the DNS cache, but the URL is still throws 'Server Not ...
1
vote
1answer
290 views

resolv.conf + PXE server + kickstart files

I use PXE server in order to download kickstart and to install Linux. After installation I saw that /etc/resolv.conf was created with the IP of the PXE server. Why there is PXE server IP address in ...
0
votes
2answers
1k views

How to configure DNS on Fedora 16?

I use Fedora 16 and I'm trying to configure the DNS but it is not working. I followed this tutorial: http://www.server-world.info/en/note?os=Fedora_16&p=dns&f=1 My IP is 172.31.50.86, I ...
2
votes
1answer
3k 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 ...