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

learn more… | top users | synonyms

-1
votes
2answers
12 views

How to set properly a DNS for a specific IP?

After reading tutorials on the internet, I don't succeded to set a domain name to an IP adress in debian. here is my /etc/resolv.conf: but it doesn't works when for example I try : ssh ...
3
votes
2answers
34 views

How to configure BIND for domain name with own nameservers?

I am using BIND 9.10.3_P2 to setup DNS records for domain speedydrive.net. The domain itself has glue records on parent servers with 2 IP addresses for NS servers. Everything looks fine except the ...
0
votes
0answers
20 views

`getaddrinfo`: what specifies its data source in the POSIX standard?

I wanted to check getaddrinfo is expected to use Unbound when it's installed. Unless I overlooked something in this specification, it does not refer to any data sources it is required to check: ex. no ...
1
vote
2answers
833 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 ...
3
votes
1answer
45 views

Debian: Order of DNS servers when using VPN

My notebook gets its DNS servers via DHCP. When I start a VPN session (pptp, managed my networkmanager), the DNS servers received from that VPN session are queried first. I'd like to use the DNS ...
0
votes
1answer
26 views

Please explain to me named.stats file

I don't quite understand BIND9's statistics file named.stats. Couple of things: 1.) +++ Statistics Dump +++ (1453303803) - what does it mean? Is it when the file was created? And One and half billion ...
10
votes
3answers
3k views

Configuring ssh fingerprints on dns to replace known_hosts fails

The SSHFP records were generated on the ssh server as follows and then added to the zone in bind: $ ssh-keygen -r www.test.us. www.test.us. IN SSHFP 1 1 ad04dfaf343a93beeb939eed1612168f7eadbed7 ...
1
vote
1answer
19 views

ssh_config: Add a host section that matches IPs even when connecting via hostname

I want a host section in my ssh config that matches any local IP: Host 10.* 192.168.*.* 172.31.* 172.30.* 172.2?.* 172.1?.* setting setting ... This works as long as I connect directly to a ...
1
vote
1answer
24 views

OpenBSD cannot find host names

I have a openBSD instance under vultr. I installed OpenBSD 5.8 and I can ssh into it just fine. But I cant seem to be able to use pkg_add, ftp, ping or any other internet dependent program. For ...
0
votes
1answer
15 views

Does 'reloading' a server reset dns/email settings

I have a client with web hosting on a Linux VPS. Unfortunately, I know very little about VPS hosting and am having a hard time finding information on how to set up email and DNS records. So the best ...
7
votes
1answer
903 views

First sudo always slow

The first sudo I enter on my Ubuntu 14.04 server is always slow. The password prompt displays immediately, but after I press enter it takes about 10-15 seconds until the output is printed. All sudo ...
0
votes
2answers
1k 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
3answers
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
20 views

MX Record Question

Is there a way to bypass the DNS's MX record? My company uses Barracuda for spam filtering and our company's MX record points to Barracuda. A product we're trying to build needs to talk TLS to the ...
1
vote
0answers
14 views

getting dnsmasq to issue different ip address for domain name when dhcp client connected

I am undertaking development of an https application (both client and server) which requires that I issue myself a certificate with the domain name of the server. Lets say its test.example.com and I ...
7
votes
4answers
38k views

Why can't I ping Google?

I can't ping google.com (unknown host). But I can ping IP addresses. I tried to ping the IP address of Google but it doesn't work. resolv.conf nameserver 8.8.8.8 nameserver 209.139.209.33 ...
1
vote
1answer
21 views

Bind dns zone will not work

THe issue i am having is that i am trying to create a email server but my emails are rejected due to invalid ptr record. $TTL 600 @ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. ( ...
0
votes
1answer
16 views

Different A records for a domain

I have a domain which A record points to a site, hosted on VPS. Now I want to make a mail server, which is located on a second VPS. To make mail server work I need MX records, which is based on A ...
0
votes
1answer
25 views

PowerDNS returning ServFail for all requests

I have been working to get PowerDNS running on CentOS 7 x64 that is up to date. Followed this guide for everything except Nginx because I am using Apache: ...
0
votes
1answer
41 views

OpenVPN server on Kubernetes cluster / DNS and Service resolution

I have a Kubernetes cluster running applications (currently on a set of Vagrant CoreOS VMs on a local server) I want to be able to debug a particular application locally on my laptop, so I worked on ...
2
votes
2answers
507 views

How to increment serial number in bind9 dns zone

I have a dns zone, which has serial number: 2015040500 Today I am going to add some CNAME records there, so I am interested in how to increment serial number, I mean should I change it based on ...
2
votes
1answer
851 views

How to define DNS server in openvpn?

I setup an openvpn server with static key (certificate mode is not usable due to DPI at the national gateway), but I cannot successfully change the DNS automatically after the connection. I searched ...
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). ...
2
votes
0answers
18 views

Removing Incorrect WINS record

So I have a Ubuntu 14.04 server that I'm trying to get to run as a Domain Controller for a set of Windows machines. I've set up a Bind9 DNS and it works fine, pinging the nameserver gives the correct ...
0
votes
2answers
44 views

How to find the domain name of a server?

I'm having trouble finding the domain name of my school's server, I read another question similar to this but their commands didn't work. I tried to use nslookup and then when I was prompted I ...
1
vote
1answer
20 views

How to return the nearest DNS IP based upon requesting client's IP?

To achieve a faster internet experience, one aspect that can be optimized is to ensure a client is making use of a nearby DNS, rather than something on the opposite side of the world that might ...
1
vote
0answers
13 views

Choosing right resolver for certain domain

I'ts possible to let resolver to select a specific resolv for particular domain? For example i have, in my resolv: search www.huaweimobilewifi.com mycompany.domain nameserver 192.168.8.1 <- my ...
0
votes
1answer
39 views

Get the external IP address in shell without dig in 2016?

This question: "How can I get my external IP address in bash?" Solves the question with a call to dig: dig +short myip.opendns.com @resolver1.opendns.com; that is the fastest resolution possible, ...
3
votes
1answer
103 views

Large zone file for bind9 : ad-blocking

I was successfully using a small (20,000 entries) zone file with bind9 server, but today my data provider sent an update which caused the zone file to become 300,000+ entries large (30Mb+). The ...
25
votes
6answers
14k 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 ...
1
vote
1answer
8k views

CentOS 6 not registering 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
1answer
841 views

Ubuntu server 14.04 cannot reach dns but can ping [closed]

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 ...
5
votes
2answers
4k views

Blocking Websites with /etc/hosts

There's a website, www.example.com, that I tried to block myself from accessing because it wastes too much of my time. So I configured my /etc/hosts file. I added the following lines, to block the ...
1
vote
1answer
107 views

VPS not resolving DNS names

I have a CentOS 6 VPS. I can ping 8.8.8.8 but not google.com. My resolv.conf is: nameserver 8.8.4.4 nameserver 8.8.8.8 nameserver 4.2.2.4 Is there anything else that I should check? Update: # ...
0
votes
0answers
25 views

DNS problem with ipv6 on centos6

I have a couple of open-stack instances that communicates with github.com. When any of these machines reboots , the file /etc/resolv.conf gets the ipv6 addresses of my DNS servers. Everything still ...
2
votes
1answer
43 views

DNS temporarily fails with VPN addresses

I'm connecting to a company network on Lubuntu 15.10 with vpnc either on terminal or via the network manager. Sometimes I can reach the intranet hosts fine, then suddenly they are gone. Then they come ...
0
votes
0answers
35 views

Kali Dns Problems

I have a problem. So, when I connect to any wi-fi station I can't use google or yandex. I solved that. The thing was in dns. I added google dns servers to 'resolv.conf' and it worked fine. However, ...
87
votes
12answers
269k views

How do I set my DNS when resolv.conf is being overwritten?

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

How can I programmatically modify DNS lookups in real time?

I want to use OpenDNS (parental control) and UnoTelly (geo-restriction circumvention) together. OpenDNS returns an IP to an error page if the site is blocked. So if I get that error IP, then I want ...
43
votes
5answers
39k views

What is the point of sshd “UseDNS” option?

I know what it does, but i don't know why. What attack(s) does it prevent ? Is it relevant for all kind of authentication methods ? (hostbased, password, publickey, keyboard-interactive ...)
1
vote
1answer
69 views

How can I (re-)connect DNS for gmail on Linux Mint?

Let me refer responders to this thread on Linux Mint forums: Chrome/Firefox not loading Google websites I've seen this four times in the past two weeks or so. The loss of connection does ...
2
votes
1answer
65 views

How to set static DNS with dhclient while resolv.conf keeps getting overwritten?

Following the Debian NetworkConfiguration wiki, I've been trying to setup static OpenNIC DNS with no success. The first thing I tried was directly editing /etc/resolv.conf, but it keeps getting ...
1
vote
1answer
175 views

server can't find xxx.xx.xxx.192.in-addr.arpa:NXDOMAIN

$ORIGIN xx.xxx.192.in-addr.arpa. $TTL 86400 @ IN SOA dns1.testserver.com. hostmaster.testserver.com. ( 2001062501 ;serial 21600 ;refresh after 6 hour 3600 ;retry after 1 hour 604800 ;expire ...
2
votes
0answers
40 views

Need for IPTables expert, possibly with knowledge of u32 module

A customer is sending queries against DNS root-servers on my recursive DNS server. I need to block it with iptables. I tried 3 examples but it is not working. 0 0 DROP udp -- * * ...
2
votes
0answers
30 views

Raspberry pi wireless TOR access point. Open VPN doesn't connect. DNS problem

I have Raspberry pi (Raspbian) wireless TOR access point connected via ethernet cable to my local router. Everything works fine except one thing. When I want to use VPN, I'm unable to connect to my ...
131
votes
16answers
181k 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
5answers
5k views

Make nslookup use specific interface

On my computer I have two network cards. Both are using different Internet Providers service. Both Internet service provider have different DNS server and their IP address are known to me. I want to ...
1
vote
1answer
75 views

Thunderbird can't resolve DNS host names on Linux Mint 17.2

I just upgraded from Linux Mint 14 to 17.2 and Thunderbird 38.4.0 is having problems. It can't resolve any host names except those in /etc/hosts. Everything else I've tried, including Firefox, the ...
3
votes
1answer
94 views

What is the best way to keep a Linux server's hostname consistent?

We have a server with a CentOS distribution of Linux. It lost its hostname in the month somehow, since our last reboot. We ran an ETL (extract, transform, load) job last week, and part of that ...
5
votes
4answers
4k 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 ...