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
200 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
119 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
230 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 ...
4
votes
5answers
12k 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
9k 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
575 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
97 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
679 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) ...
1
vote
1answer
187 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
536 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
6k 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
230 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
176 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
445 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
340 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
378 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
452 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
260 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
189 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
129 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
8k 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
4k 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
4k 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
275 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
386 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
396 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
880 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
227 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 ...
1
vote
2answers
3k views

Fedora 18: can't resolve hosts

My Fedora 18 machine is having problems with resolving hosts: Could not resolve host: ...; No address associated with hostname] HTTP error on [https://lon.auth.api.rackspacecloud.com/v2.0/tokens], ...
2
votes
2answers
1k views

I want to expose “easy” URL's for machines on a home network. Is custom DNS/BIND the answer?

I recently convinced my room mates to cut the cord and go cable free, and they've found it pretty great so far. I'm in the process of setting up a pretty sweet, mostly automated home theater setup ...
1
vote
1answer
306 views

How can I configure dnsmasq to resolve based on the source of the request?

I'm trying to get SiriProxy to work whenever I'm connected to my home network by setting up dnsmasq on my router running the Tomato firmware to send all requests to the Apple Siri server to my local ...
0
votes
1answer
293 views

perform ping test to change dns

I wrote this script to check if my dns server works fine or not, and if not change it. but it gives out error ./dns-ping.sh: line 15: ((: 3 < : syntax error: operand expected (error token is "< ...
2
votes
1answer
2k views

Could not resolve host error

I'm using Arch Linux and I have a dynamic ip address with the use of dhcpcd. I can access websites through the google chrome but the problem is that I get 'could not resolve host' error when I run ...
8
votes
5answers
2k views

Host lookup that respects /etc/hosts

Utilities like host and dig let you see the IP address corresponding to the host name. There is also the getent utility that can be used to query /etc/hosts or other NSS databases. I am looking for ...
2
votes
3answers
93 views

Can DNS identify hostnames dynamically if they're statically configured?

I've got a small environment of ~40 VMs with static IPs on 12 servers, it would be dandy if I could refer to each VM by name. We have a lot of VMs come and go, so maintaining one static list is a ...
3
votes
4answers
24k views

Ubuntu: How to configure DNS servers in /etc/network/interfaces correctly for resolvconf?

All examples I have seen of configurations (/etc/network/interfaces) showed that you configure an interface and then underneath that gave the dns-* lines such as: auto eth0 iface eth0 inet static ...
3
votes
1answer
873 views

How to setup whatever.localhost.dev to resolve into 127.0.0.1 on Ubuntu 12.04?

I'm running Ubunut 12.04 I want *localhost.dev to point to 127.0.0.1. Ubuntu 12.04 comes with dnsmasq-base installed with network-manager. But there is no /etc/dnsmasq.conf. So I installed the ...
2
votes
2answers
118 views

How do Apache2 VirtualHosts get resolved?

As I understand it, when you request a url from a website using your browser, it asks the DNS server that the OS is pointing at if it knows the ip address that relates to the dns-name of the server; ...
7
votes
2answers
502 views

Firefox unable to access domains defined in /etc/hosts if Network Manager is disconnected from a network

For developing web sites, I define test domains in /etc/hosts : 127.0.0.1 example.org I can then access example.org in the browsers. However I when the Network Manager is not connected to any ...
0
votes
1answer
2k views

Bind DNS rate-limit and values for responses-per-second and window

In my DNS server's named.conf I see rate-limit { responses-per-second 5; window 5; }; What does this actually mean? And can it cause DNS clients problems? Is this ...
2
votes
1answer
345 views

Method to perform DNS lookup step very quickly during wget

When I download any document from internet using wget. It shows maximum amount of time consumed in getaddrinfo(). I know getaddrinfo() used for DNS lookup. Tell me any method, so that this time is ...
4
votes
3answers
52k views

How to flush local DNS cache in CentOS

(I am aware that googling this question gives me tons of stuff, but literally none worked) I'm looking for a way to flush the local DNS cache on a Centos 6 system, it is not running any DNS server or ...
1
vote
1answer
556 views

No DNS on Debian wifi after unplugging the DNS cable

I have installed wheezy Release Candidate 1 to my old laptop (Benq Joybook A52) right now, and I have some problem with my wireless card (Atheros 5006). It can actually see the wireless networks, I ...
4
votes
1answer
516 views

Setup of DNS zone with secure zone updates

How do I run a dns server with a zone for a local domain and be able to add dynamic entries to the dns zone securely from selected hosts? I have tried to setup a domain 'rag.local' with bind9. I have ...
0
votes
2answers
182 views

How to detect particular system call called or not in a whole workflow?

EDIT No. 1 My task is mirroring , i.e., copying updated data from master server to all mirrors, by using rsync and rsh. But during rsync and rsh, I found some delay. My thinking is , the reason for ...