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

learn more… | top users | synonyms

3
votes
3answers
3k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
1
vote
1answer
43 views

Ubuntu server 14.04 cannot reach dns but can ping

The server A has access to the Internet, since I get correct response when I use curl . And I have another server B which is free of this issue, of which /etc/network/interfaces and /etc/resolv.conf ...
0
votes
1answer
599 views

How can I use CNAME in Bind properly?

I'm new to Bind/DNS and want to point/map SMTP, webmail and IMAP to my domain but a check in nslookup is failing. How can I nslookup SMTP this way? The error I get is: smtp.stylez24.com: NXDOMAIN ...
1
vote
2answers
18 views

dnsmasq causes inability to resolve DNS queries made by host

On a headless Ubuntu 14.04 vanilla machine I setup dnsmasq as a DNS proxy with the following configuration in /etc/dnsmasq.conf no-resolv nameserver=<some working custom dns ip> port=5555 #to ...
1
vote
0answers
10 views

how to troubleshoot domain name before re-pointing Nameservers

suppose I have a site: awesomefootball.com hosted on a Linux server with db etc.. For testing, I know how to pull a copy to my MacBook and set up /etc/hosts file to let me test at ...
0
votes
0answers
31 views

Why must a server know its own host-name and domain-name?

In Linux, a server can set its own host-name and domain-name through sethostname() and setdomainname(). I just wonder, however, why must a server know its own host-name and domain-name? To my ...
30
votes
5answers
36k 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)
2
votes
0answers
27 views

DNS resolution problem with OpenBSD

During boot up, messages flashed on my computer screen, among which are the following: DHCPACK from 192.168.200.1 bound to 192.168.200.12----> renewal in 432600 seconds The contents of my ...
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 ...
0
votes
1answer
96 views

Running HMA Pro VPN on Kali Linux

I've installed HMA VPN on my Kali Linux distro but I'm having problems connecting to a VPN IP address. I run the command ./hma-vpn.sh -l "Amsterdam" for example, and then I try to connect to a ...
0
votes
1answer
960 views

Slow DNS resolve from curl/lynx etc

I have a strange issue with DNS resolving: Root of the problem is that I get curl errors: "Error executing HTTP request: name lookup timed out". Tried to ping some sites, all resolved fine (and fast). ...
4
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 ...
1
vote
0answers
28 views

After changing network openvpn keeps querying stale dns

After changing network connection in my laptop (fedora 21) openvpn clinet is unable to resolve server address so every several seconds same line appears in logs: RESOLVE: Cannot resolve host address: ...
1
vote
2answers
600 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
1
vote
2answers
843 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
3
votes
2answers
2k views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...
0
votes
0answers
20 views

How to Setup dns in Virtual machine

I want to know how dns resolve the name. DHCP server installed in one vm. How to setup dns in the virtual machine and what are the configurations I need to do. And when i start another vm, it needs ...
3
votes
4answers
22k 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
97 views

Setting up domain with multiple servers

I am setting up a small web hosting service for my clients. I have my dedicated server which will be the shared server to host clients websites using WHM/cPanel. I have a separate VPS server that I ...
0
votes
1answer
5k views

CentOS 6 not regestering new hostname on Windows Server 2003

I rebuilt a Windows 7 Workstation with CentOS 6.5. The Windows 7 had a host name aaa attached to domain ddd.local. The new CentOS hostname is bbb. When I try to ping it: $ ping bbb ping: unknown ...
3
votes
2answers
55 views

How to search .local?

I just set up my new Pi2 with Raspbian. All works well, I installed avahi, so that I can reach the Pi via raspberrypi.local. However, the Pi does not find my MacBook, which is usually resolvable via ...
35
votes
9answers
94k views

How do I set my DNS on Ubuntu 14.04?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
1
vote
0answers
44 views

Avahi commands not working in CentOS

I want to use Avahi tools for mDNS service discovery in CentOS 6.6. I have installed the following packages: avahi, avahi-tools, nss-mdns. I checked the Avahi daemon and it is running: $ service ...
0
votes
1answer
11 views

PHP framwework, multiple sites and httpd and DNS

I'm wondering if this is possible: There is a PHP framework and someone made several sites, which can be accessible like this: .../index.php/aaa .../index.php/ccc I would like to somehow map DNS to ...
0
votes
0answers
10 views

BIND cannot map one name

I setup a BIND sever. Let domain be example.com, httpd running. There is a separate zone for aliases to another domain, different.com I setup zone file for different.com to be: am IN CNAME ...
0
votes
0answers
32 views

How can I have hosts register their IPv6 addresses in Windows DNS

Windows clients support registering their IPv4 and IPv6 addresses in DNS after obtaining the address from a DHCP server or via IPv6 Router Advertisements. For my CentOS 7 and Fedora 21 boxes I'd like ...
1
vote
1answer
26 views

iptables, differentiate ports based on hostname

Is there a way, using iptables, to ACCEPT traffic from HOSTNAME1, HOSTNAME2, HOSTNAME3 to port 22 and FORWARD traffic from everyone else to a different port and make the rule persistent? ...
0
votes
0answers
31 views

connman connections extremely flaky and slow

I'm trying to configure my system to be able to connect via either ethernet or wifi with connman. I was able to hotplug my ethernet with systemctl restart dhcpcd.service previously, but I'd like to ...
1
vote
2answers
47 views

Resolving IP address to get Domain Name

How to make my server be resolved by IP address and get the domain name. For example: then Anyone can use: resolveip <my-ip> And get the output of my domain name; like www.xyz.com.
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 ...
1
vote
1answer
61 views

How can I make my primary DNS take priority over other servers?

Note - I believe my title is the way it's meant to be... I used dnsmasq on my server and it sets DNS (via DHCP) to clients as: 192.168.2.1 (local server) ISP DNS 1 ISP DNS 2 This at least works - ...
2
votes
1answer
40 views

Exim4 DNS issues

I'm trying to forward the emails from my Debian server to my usual email address. I'm probably missing something important, as I can't find a good solution online looking for the following error ...
0
votes
0answers
53 views

DNS suddenly stops working for a particular network on a particular machine, DNS_PROBE_FINISHED_BAD_CONFIG

I'm staying somewhere for a while where there are two wifi networks. One's mediocre, one sucks. The mediocre one worked fine on my HP machine with a Realtek card running Mint for several days. ...
2
votes
1answer
25 views

Can I Mix Multiple Nameserver Sources in resolv.conf

In the list of nameservers in resolv.conf, can I use different nameservers (one from ISP, one from Google, etc..) in each line or does it all have to be from same source? Example: nameserver ...
0
votes
1answer
26 views

set network manager dns in ubuntu

I have Ubuntu 14.10. When I'm at work I can browse the internet without problems. Now that I'm at home, I can connect, but I'm not able to browse the web. Some informations: the output of ifconfig: ...
0
votes
1answer
21 views

Why won't my BIND / Apache configuration work?

I am trying to set up a BIND configuration with an Apache webserver. What I am trying to achieve is to by using the URL www.exampler.net access the content that can be found on my Apache webserver's ...
1
vote
0answers
29 views

Adding a Wildcard to PowerDNS

Ok, first, full disclosure: I'm a total noob at this and could be going about it all wrong. I'm trying to use a server on my network (in this test case a Raspberry Pi running Raspbian) as the DNS ...
0
votes
0answers
6 views

dns dsc auto refresh

I installed the DNS traffic monitoring tool DSC in the centos6.4, but the DSC Apache page is static, how to set up to automatically refresh? For example, each minute refresh time
3
votes
1answer
86 views

resolvconf writing invalid resolv.conf file

Every time I connect to my VPN I lose DNS with an error of, "cannot parse /etc/resolv.conf" The offending line is line 1 being an empty "domain". So after connecting to the VPN my resolv.conf file ...
1
vote
3answers
131 views

How to make resolvconf append nameservers to the list instead of prepending them?

I'm trying to configure OpenVPN to update DNS-servers as described here. That seems to work, but resolvconf prepends nameservers (and also search domains) to the list of existing nameservers. How can ...
0
votes
1answer
83 views

BIND/DNSMASQ query hanging on ubuntu server 14.04.1

I'm testing out a BIND and DNSMASQ configuration on my VPS. When I run a program which submits a bunch of queries (around 10-20 per second) my DNS replies stop coming back for a random amount of time. ...
1
vote
2answers
52 views

How do devices add DNS entries on a local network?

I have a D-Link WiFi extender DAP-1320, and somehow, when it gets plugged in, it enables my Linux box to resolve dlinkap.local to its IP address. I don't have to add anything to /etc/hosts. In the ...
2
votes
1answer
393 views

nameservers erased after systemctl restart network.service

I'm working on centos 7, and having problematic behaviour when setting network interface from dhcp to static ip configuration. I edit /etc/resolv.conf, and run systemctl restart network.service The ...
2
votes
1answer
55 views

How do I manage resolv.conf with Puppet and NetworkManager?

I have some hosts that have explicitly managed resolv.conf files. I have others that rely on NetworkManager, which does many things including writing the resolv.conf file. Is there a consistent way ...
1
vote
1answer
66 views

OpenConnect not resolving hostnames

I'm running LMDE 17, and I've installed OpenConnect v6 and the repository version of network-manager-openconnect. Everything is peachy, except any address for the domain companyname.local doesn't ...
3
votes
2answers
583 views

apache won't restart after adding VirtualHost conf file, why not?

In a CentOS 7 server, I get the following error when I type sudo apachectl restart after I add an include file at the bottom of httpd.conf: Job for httpd.service failed. See 'systemctl status ...
-1
votes
1answer
57 views

Cannot Intentionally break/stop DNS via /etc/resolv.conf - Always resolving no matter NS config

I am still learning linux, and so far having great trouble in the networking and DNS areas - I think due to misunderstandings. My understanding is if we provide nameservers in /etc/resolv.conf these ...
4
votes
5answers
11k 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 ...
0
votes
0answers
84 views

DNS/BIND configuration to resolve *.mail.*.outlook.com subdomains

I'm running BIND 9.3.3rc2 on a CentOS 5 system acting as an SMTP server. Until last week, I haven't had any problems with DNS or name resolution. The only problems I have resolving are with subdomains ...
2
votes
1answer
55 views

Dig command: Is the output guaranteed to be sorted?

Let's say I'm trying to lookup the IPs mail.yahoo.com, gmail.com and mail.google.com If I execute: dig @8.8.8.8 +nocomments +noquestion \ +noauthority +noadditional +nostats +nocmd \ ...