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

learn more… | top users | synonyms

2
votes
2answers
1k 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
6k 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 ...
4
votes
6answers
870 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 ...
5
votes
3answers
12k 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 ...
35
votes
7answers
49k 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)
8
votes
2answers
22k 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 ...
5
votes
5answers
5k 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 ...
5
votes
2answers
3k 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 ...
0
votes
1answer
10k 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
253 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
26k 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 ...
13
votes
2answers
18k 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?
9
votes
1answer
13k 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
910 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
1k 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
5k 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
3
votes
1answer
4k 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 ...
2
votes
2answers
2k views

Virtual hosting a tomcat webapp in Apache on RHEL 5.0

I am in a hosting fix! I have developed a web app for my organisation that allows sharing, interacting, etc. I want to DEPLOY IT ON LAN. BUT... I don't want the end user to type: ...
95
votes
14answers
135k 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.
2
votes
2answers
441 views

How is my domainname determined?

If I look into /etc/hostname/ I can see the hostname of my device. This is however not the name that shows up when I use nslookup on our network. How do I tell the DNS server which name it should use? ...
3
votes
3answers
3k views

/etc/hosts file syntax. Is it possible to set one IP for a zone?

I would like to set one IP for a zone (livejournal.com) currently I am having to directly type the subdomains like: 11.11.11.11 sub1.livejournal.com 11.11.11.11 sub2.livejournal.com 11.11.11.11 ...
3
votes
2answers
672 views

Local DNS rewrite from host to host for web requests

Is there some de-facto way for rewriting certain hostnames to other ones? Something like /etc/hosts for host to host instead of ip to host. Is this possible or should I create a local dns cname for ...
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
1answer
594 views

Short domain name to FQDN expansion

Is it possible to configure where the system will look for the machine if I enter just a short domain name? I work in a grid environment where the machines are many and spread across multiple ...
1
vote
1answer
2k views

Unable to start the 'named' service [closed]

Whenever I try to run the named service, I get the following even though my permissions and folder ownership are all fine: [root@f13 ~]# service named start Starting named: Error in named ...
2
votes
1answer
175 views

Do rndc keys expire after a year?

Yesterday, I noticed an error in a bind zone file, and after correcting it, I tried to restart bind9, but the service refused to stop, displaying this error: rndc: connect failed: 127.0.0.1#953: ...
1
vote
2answers
515 views

DNSSEC in the root zone? How to use it?

I'm using Fedora for desktop use and I: yum -y install caching-nameserver service named restart chkconfig --level 5 named on on it, and set the nameserver to 127.0.0.1. If I: dig google.com | grep ...
1
vote
2answers
1k views

BIND Server problem in Fedora

I am install the Bind Server in Fedora Linux.I configured the named.conf file.However, When I run "service named start" command,I am receive the following error. starting named: /usr/sbin/named: ...
2
votes
2answers
413 views

Working DNS-DHCP combo for LAN

Can anyone recommend a working DNS-DHCP combo for a small mixed-platform LAN? Preferably one where hosts can be assigned IP addresses and/or names with a web-GUI. The typical DHCP package on Linux ...
3
votes
3answers
1k views

Firefox and Thunderbird cannot resolve host names - anything else can

One night my firefox just started showing "Server not found" for all websites (i.e. "Firefox can't find the server at www.mozilla.com."). I noticed that it can find websites if make an entry in the ...
1
vote
2answers
781 views

OpenWrt ssh host identification with dyndns

If i ssh to my remote OpenWrt router ["via DynDNS"] I get the message @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ Ok, i delete the old line in ~/.ssh/known_hosts, add the new one ...
1
vote
2answers
1k views

Name resolution issues in Ubuntu 10.04

I am having an error with name resolution that I am not able to figure out. The system is able to resolve names, say, www.google.com when using a graphical browser like chrome or firefox. But on the ...
15
votes
4answers
27k views

How to clear DNS cache on DD-WRT

How can I clear the DNS cache in DD-WRT on my router? DD-WRT uses the dnsmasq daemon.
1
vote
2answers
4k views

What is a valid hostname label?

I set up my hostname to a number, where running hostname gives: 6592 But when I run ping 6592, I get: connect: Invalid argument I checked the related Wikipedia page, and it does say that such a ...
2
votes
1answer
1k views

Attempting to update Amazon Route53 using a script, but domain is not being updated

I have several Amazon EC2 instances, running Ubuntu 10.04, with which I'd like to use Amazon's Route53. I setup a script as described in Shlomo Swidler's article, but I'm still missing something. ...
22
votes
6answers
12k views

Can I create override dns similar to writing in /etc/hosts without root access

I want to set a dns record that my browser will use, but I don't have root access, so I can't modify /etc/hosts. I need to do this for testing vhosts with apache, whose dns hasn't yet been set up. I ...
3
votes
4answers
2k views

DNS Troubleshoot. Campus domain does not resolve when using campus network

I am having a very odd DNS issue. I live on-campus and the university provides Internet access with my rent, but I can not get access to the university websites. I am hoping to get direction on how to ...
3
votes
5answers
3k views

Why do all my DNS queries resolve to 192.168.1.251?

All my queries on one machine on my network have suddenly started to resolve to 192.168.1.251. This machine was used as the DNS server by other machines, so I noticed it as soon as it started ...
5
votes
2answers
2k views

What file do I have to edit to make static DNS server in CentOS?

Almost every distro I know will wipe /etc/resolv.conf on reboot (I think DHCP does this) and thus the place to add static DHCP entries varies per distro. How do I add static DNS servers to a CentOS ...
2
votes
1answer
2k views

Can't reach DNS through wireless router

I've got a Ubuntu 10.04 laptop, and recently it's had some odd networking problems. It's on the home wireless router, supplied by the phone company, and has no problem talking to anything on the ...
4
votes
1answer
953 views

How can a Windows based DHCP server update DNS Server on Linux? [closed]

The updates to the zone is protected by the key (similar to: allow-update { key "rndc-key"; }).
7
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 ...