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

learn more… | top users | synonyms

4
votes
2answers
1k 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
456 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
250 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
488 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
347 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
160 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
685 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
303 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 ...
5
votes
4answers
4k 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
292 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
417 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
0answers
454 views

Changing file permissions problem [closed]

A few hours earlier I bought a beaglebone (Ångström installed) and now I am trying to add nameserver 8.8.8.8 (google DNS) to /etc/resolv.conf. However when I open it with vim and try to add my ...
1
vote
2answers
747 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
2k 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
399 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
457 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
2k 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 ...
5
votes
3answers
9k 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
4k 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
2k 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
280 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
596 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 ...
3
votes
2answers
591 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
2k 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
1k 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 ...
1
vote
3answers
385 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
7k 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
243 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
2k 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 ...
1
vote
1answer
512 views

pxe boot: problems with /etc/resolv.conf

I'm pxe booting a node (Ubuntu 11.10). The image of the node is created with debootstrap. Works great. Everything is loaded. When I login to the node I see that /etc/resolv.conf is empty. In the base ...
1
vote
1answer
894 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 ...
5
votes
5answers
3k views

/etc/resolv.conf changes during reboot

My ISP asked me to use custom nameserver settings. I have placed these in /etc/resolv.conf. Unfortunately, every time I reboot the computer, the contents of this file is changed. To connect to the ...
3
votes
6answers
613 views

Find my computer on a LAN network

Let's say that I have a computer plugged in to a local network using a dhcp connection, so it will get a different IP every time. Is there a way to find this computer (so the IP) from a different ...
4
votes
3answers
8k views

How to create a custom dynamic DNS solution?

You all probably know commercial dynamic DNS providers like dyndns.org or no-ip.com. But how to create a similar service for just a handful of machines? What server software would be best suited for ...
15
votes
4answers
14k views

What DNS servers am I using?

How can I check which DNS server am I using (in Linux)? I am using network manager and a wired connection to my university's LAN. (I am trying to find out why my domain doesn't get resolved)
6
votes
1answer
14k 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 ...
3
votes
5answers
3k views

How to overcome libc resolver limitation of maximum 3 nameservers?

Suppose I work in environment with number of domain changes and slow propagation. I want to test domain configuration immediately after setting change but the propagation is slow. So I want to add ...
4
votes
2answers
2k views

Can't resolve CentOS 6.2 server by name from OS X

I just set up a new AirPort Extreme and CentOS 6.2 server - the server is meant to be a general-purpose storage machine, and so I've set up Samba and Avahi on it. I can easily access the server by IP ...
1
vote
1answer
5k views

How to create reverse-lookup file for BIND that points to some networks?

I am try to create a reverse-lookup file in BIND, but I need it to point to many networks not just one. I have three networks that connected to the same bind server, 192.168.3 and 192.168.4 and ...
2
votes
1answer
237 views

How do I use the OpenDNS servers for wlan0 in Aptosid?

How do I use the OpenDNS servers for wireless networks in Aptosid? All the methods I've found are either specific to other distros, specific to eth0 or they just don't work with Aptosid or wpa_gui.
5
votes
5answers
16k views

Name resolution doesn't work, but nslookup does

I am having a very strange problem with my installation of Solaris 11. DNS resolution just won't work, but strangely enough, nslookup does and connectivity is fine: root@solarisxyz:~# ping ...
9
votes
2answers
13k views

What is a “recursive DNS query”? [closed]

Can someone explain in short what "recursive DNS query" means and how it can be considered bad?
7
votes
1answer
8k 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 ...
11
votes
3answers
718 views

Two commands, one pipeline

I need these two commands to be one (so I can pipe them further): dig +nottlid -t any bix.hu | egrep -v "^;;|^;|^$" | sort dig +nottlid -t any www.bix.hu | egrep -v "^;;|^;|^$" | sort I mean I ...
2
votes
1answer
917 views

How to configure a catch-all CNAME on Ubuntu Linux using BIND 9

I'm trying to set up APE server on my local system. I'm using Ubuntu and BIND and I need to set up a catch-all CNAME record. What would be required for this?
7
votes
1answer
1k views

How to let `named` (bind9) forward certain domains to a different nameserver?

In dnsmasq, it's possible to forward domains to different nameservers. How can I do that in named? server=/foo.com/10.0.10.1 server=/vpn.foo.com/8.8.8.8
1
vote
0answers
399 views

How to make dnsmasq avoid DNS cache poisoning?

Some domain gets DNS cache poisoning if dnsmasq is the nameserver. But the problem is gone if switch to BIND (named). Is there a easy configuration of dnsmasq so that DNS cache poisoning can be ...
3
votes
1answer
2k views

Skype connects to the internet but all my web browsers can't on Fedora 15

I've recently taken the plunge and gone from Ubuntu to Fedora. When connected to my wireless network my web browsers can't access any sites although skype works fine. I don't have the problem when ...