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

learn more… | top users | synonyms

1
vote
2answers
380 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
2k 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
1k 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
1k 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
448 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
437 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
108 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
241 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
569 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 ...
3
votes
1answer
5k 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 ...
7
votes
2answers
3k 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
121 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
275 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
325 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
63 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
174 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
115 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
196 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 ...
3
votes
4answers
9k 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
6k 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
489 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
2k 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
92 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?
0
votes
2answers
511 views

Unix: How to Test Ip Address is resolved to name

Unix: How to Test ip Address is resolved to name. I need to check whether ip address can be resolved to name using DNS entry via shell script. Code: DNS_Lookup() { LOOKUP=$(nslookup $1) ...
0
votes
1answer
162 views

DNS zone fallback file

I have the following DNS zone(bind): zone "." IN { type master; file "named.root"; }; If this zone directive cannot resolve the address, how can I "fallback" to another file for the same ...
3
votes
1answer
493 views

Force local DNS resolution for external hosts

My Environment: *OS:* Angstrom Linux DNS: Bind Current Scenario: User connects to my private offline network. User tries to access google.com, and my box is on a private network therefore they ...
2
votes
2answers
5k views

When to use BIND vs internal DNS for Samba 4 backend

The docs say, "Bind as DNS backend is recommended, if you plan setup a complexer DNS setup, than the Samba 4 internal DNS currently made possible." What exactly is the threshold for "a complexer DNS ...
3
votes
2answers
224 views

How to host a website on personal computer

I want to start hosting my website at my own computer as well websites of my friends too (say mini hosting platform). I learned Debian, Bind9 and Apache for this purpose. On my system everything is ...
0
votes
2answers
161 views

How to attach my domain with bind in real www

How to attach my domain with bind in real wwwI install bind9, with apache. By God's very grace every thing went smooth. my dig, host, nslookup and ping provide this info: my system ip address: ...
2
votes
1answer
2k views

Binding domain name to Apache Virtual host on VPS

recently company I work for has rented VPS. Now i need to have multiple websites hosted on this VPS, that is not a problem, I'v set up virtual hosts, databses, etc. Now i wanted to test it, see if I ...
2
votes
1answer
80 views

How to property configure DNS . . . from a conceptual perspective

I'm not looking for actual tools or techical how to type answers here. I'm in a complex networking environment, and I'm trying to understand the constraints on my choice of a hostname / domain / DNS ...
4
votes
1answer
384 views

List all DNS Servers, including those pushed by VPN

I want to know which DNS servers are in effect when I run commands like nslookup, dig, host, ping, etc. The general answer is to cat /etc/resolv.conf, or to look at NetworkManager, but that's only ...
2
votes
0answers
298 views

How to configure Unbound to use DNSSEC?

I'm having a local caching DNS server: Unbound: [root@localhost /etc/unbound] cat unbound.conf server: interface: 127.0.0.1 access-control: 127.0.0.1 allow verbosity: 1 ...
2
votes
2answers
307 views

Define custom DNS server when looking up host

I'm having trouble with my current web host's DNS server which doesn't correctly resolve IP addresses for Baidu. shell_exec('host -W 2 180.76.5.168'); shell_exec('nslookup 180.76.5.168'); Is there ...
0
votes
2answers
2k views

CentOS VPS - Pointing my Domain name to the VPS static IP

I am a Linux Newbie. I have a VPS with CentOS installed at my ISP and I am managing it remotely. Up to this point, I have had shared webhosting on a Linux machine at my ISP where I had CPANEL ...
0
votes
1answer
393 views

Solaris 11 nslookup reverses ip

From (Solaris 11.1 with current patches, m4000 128GB) syslog: Jun 17 10:06:14 sun-m4k-03 sendmail[4993]: [ID 702911 mail.warning] gethostbyaddr(10.128.4.50) failed: 1 The ip is valid from the ...
1
vote
1answer
224 views

Always look up non-FQDN domains as .example.com?

When I connect to the company OpenVPN they don't push their DNS to my computer, which means I have to type the FQDN for the hosts I e.g. SSH and HTTP to. Question Is it possible to configure my ...
0
votes
1answer
172 views

Ubuntu 12.04 resolver setup

When investigating how the DNS setup of my os (Ubuntu 12.04) works, I came to some questions I could not really find on the web. So what I observed was, that ubuntu uses Dnsmasq as a DNS resolver. ...
2
votes
1answer
118 views

How can I be sure that access to my home server from my home network is not done via Internet?

As advised in this question: Network file-sharing between Linux and Android, I have decided to use ownCloud to store files on my home cloud server. However, my needs have changed a bit. I want to be ...
4
votes
2answers
6k views

Why `host` and `nslookup` on Solaris 10 resolves hostnames while `ping` and `telnet` does not?

/etc/resolv.conf contains a nameserver that is alive (as reported by the ping command) host or nslookup is able to resolve google.com $ host google.com google.com has address 74.125.228.3 google.com ...
2
votes
1answer
3k views

Configuring DNS resolver failover timeout

We have all of our systems set up to do internal DNS to a local name server and a secondary name server so that in the event the local DNS server is down they should go over the WAN to the secondary ...
2
votes
1answer
3k views

Ubuntu server cannot access the Internet: appears DNS related

This is a Drupal website running Ubuntu 12.04 LTS on Linode. The server is just a website. It is not a DNS server or anything else. Here are my issues. It seems they are all related to DNS issues. ...
3
votes
2answers
238 views

Looking up a local domain name without specifying the local DNS server

I've set up a local domain name by creating a zone (by following the steps in this tutorial). Why I look the domain using dig, I get the right results when using the following command: dig ...
0
votes
1answer
350 views

Apache subdomain can not be resolved

<VirtualHost *:80> ServerAdmin webmaster@localhost ServerName domain.no-ip.org ServerAlias www.domain.no-ip.org DocumentRoot /var/www/main ErrorLog ...
0
votes
1answer
2k views

Postfix: 554 5.7.1 Relay Access Denied

My Problem is this: I can send E-Mails from my E-Mail (evolutio@lars-dev.de) to my other Emails like @gmail @web @gmx ... But when I try to send a E-Mail from GMail to evolutio@lars-dev.de I have the ...
1
vote
0answers
340 views

Can't get BIND and NS to work properly [closed]

I just got myself an unmanaged Dedicated VPS from OVH and I don't have a prior experience of setting up servers or DNS servers but I followed a couple of tuts and installed webmin and created NS Zones ...
5
votes
1answer
705 views

Why is dnsmasq putting my router IP in /etc/resolv.conf instead of 127.0.0.1?

I'm having DNS resolution issues in various contexts which appear to trace back to my networking configuration. I'm running just the dnsmasq-base installation of dnsmasq on two Linux installations ...
3
votes
1answer
213 views

Why is resolv.conf spelled without the 'e'? [duplicate]

A curiosity question which google has been unable to answer for me: Why is 'resolv.conf' spelled without the trailing 'e'? I'm sure there's a valid historical reason going back to the early days of ...