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

learn more… | top users | synonyms

1
vote
0answers
4 views

OpenVPN nameservers ignored by NetworkManager or whatever

I'm using Elementary OS. I've followed a dozen suggestions from different websites and nothing helps. I use OpenVPN client to connect to an office network. The company I work for has provided me the ...
8
votes
4answers
3k views

How do I generate SSHFP records?

I need to setup SSHFP records in the DNS for my host. I have done some searching but I haven't found any good example. What are SSHFP records? What does SSHFP records look like? How do I create ...
1
vote
0answers
16 views

openwrt: can't change dns server setting in order to resolve non FQDN hostnames

ssh'ing to my openwrt (ver. 10.03.1-RC6) shows that there is something wrong with its dns server: root@OpenWrt:~# nslookup starkill Server: 127.0.0.1 Address 1: 127.0.0.1 localhost. nslookup: ...
1
vote
0answers
16 views

Can not reach local DNS server for local dot domain subzones because firewall returns gateway IP

I have pfSense inline between my cable modem and my switch, on pfSense I have a NAT port forward on 53 to my local DNS server which I want to serve local subzones to the LAN with. Right now when I dig ...
2
votes
0answers
24 views

How is resolv.conf maintained when there are two network cards?

I have a Debian Wheezy VMware virtual machine guest with two network cards. One is in bridged mode and has access to the internet. The other is in host-only mode and does not. Some process, perhaps ...
0
votes
1answer
21 views

How to force nm-tool to update its DNS servers

Using Ubuntu 14.04LTS and having a problem with changing DNS. I can change servers in the /etc/resoolvconf/resolv.conf.d/base and head files and restart resolvconf using sudo resolvconf -u and it will ...
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 ...
1
vote
2answers
2k 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 ...
0
votes
1answer
21 views

Why does is my updated DNS record not seen by localhost?

Suppose I own the domain example.com and control its DNS server. (To be clear, I do not own example.com.) I just recently (about an hour ago) updated the dns for a.example.com to point at the IP ...
2
votes
1answer
89 views

How to properly 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 ...
0
votes
0answers
3 views

Turning off dhcp name resolution in dnsmasq

I configured dnsmasq to forward queries to 168.192.in-addr.arpa to another server, but if I send an request for an address to dnsmasq, and there is a device configured via dhcp with a name then ...
4
votes
3answers
4k 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 ...
0
votes
1answer
1k 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
281 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 ...
1
vote
1answer
18 views

DNS whitelist domains

I'm trying to set a couple of DNS servers to resolve only specified domains. My first attempt was to run DNSmasq and create a manual list of domains/IPs, like so: no-resolv ...
31
votes
7answers
41k 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)
0
votes
1answer
1k 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). ...
43
votes
10answers
121k 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
2answers
632 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
1k 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 ...
4
votes
1answer
6k 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 ...
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
1answer
64 views

ssh connects to wrong server

I changed the ip address of an ubuntu server in DNS before 10.x.x.111 after 10.x.x.222 I've flushed the dns cache, and yet when I try and ssh into the machine, ssh still tries to connect to ...
0
votes
1answer
21 views

user- or group based DNS resolution settings

Can I change DNS resolution settings on a per-group or per-user basis on Linux 3.x? I would like different groups to use different DNS servers and (if possible) different static entries (like those ...
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
1answer
51 views

Redhat 7 DNS Bind Failed to restart

I am getting Error while Restarting the Named.service in Red-hat 7 Here is my Lab Status and all the Command. Configure DNS in REDHAT 7 DNS Name p1.linux.com IP address 192.168.1.1/24 N/W ID ...
1
vote
1answer
41 views

How to set and get DNS and DHCP servers addresses

On my openSUSE 13.2, I have a case to set and get DNS and server addresses. I managed to get the DNS address by parsing /etc/resolv.conf, my concern now is setting DNS and DHCP. Does changing the ...
1
vote
1answer
149 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 ...
1
vote
2answers
62 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
11 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
39 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 ...
2
votes
0answers
50 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
149 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 ...
1
vote
0answers
51 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: ...
0
votes
0answers
31 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
25k 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
136 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 ...
3
votes
2answers
66 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 ...
1
vote
0answers
90 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
16 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
58 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
33 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
56 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
57 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
1answer
122 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
98 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
92 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
49 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 ...