Questions tagged [dns]

Domain Name System (DNS) is a service that provides the resolution of host names to IP addresses. Use the [tag:dns] tag when you are troubleshooting DNS issues, configuring a DNS resolver or server, or are trying to understand DNS's involvement in your situation.

270 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
500 views

Trouble update-rc.d remove'ing dnsmasq on Debian Stretch

Background: On my Debian Stretch machine at home, I've noticed my DNS lookup times are pretty slow, and have concluded that the culprit is dnsmasq - since if I take it down, name resolution becomes > ...
1
vote
1answer
403 views

Connect to commercial VPN on OpenBSD 5.9

I recently installed OpenBSD 5.9 and I'm trying to get it functional enough to use as a replacement for Debian. One thing where I hit a brick wall is connecting to my VPN. I use a commercial VPN which ...
1
vote
0answers
385 views

Samba4 DNS - clear old DNS records

Creating AD 2003 domain using Samba-4.3.4 with internal DNS. ISC-DHCP as a server. On Debian. DNS updates comes only from DHCP-server. What tool do I have to use to clear old DNS records, or what ...
1
vote
1answer
3k views

How to proxy nmap and dns resolution of nmap

How to use nmap and dns resolution of nmap over proxy? I tried proxychains, but for dns resolution it doesn't work, it's known bug as I read on some forums. It works well without dns_proxy feature in ...
1
vote
0answers
578 views

Cannot connect via ssh to server with global IP address

I have the no-ip service running on my raspberry pi, it updates the DNS (no-ip) whenever there is a change to it's IP address. I have enabled port forwarding on my router (Asus rt-n66u) ports 22 &...
1
vote
0answers
103 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
0answers
407 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 ...
1
vote
1answer
343 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 ...
1
vote
0answers
159 views

Remove permanent redirect and clean DNS

I am experiencing "Server not found" errors since I did the following, in my server I had this domain structure: example.com -> permanent redirection to app.example.com app.example.com I removed ...
1
vote
1answer
28 views

What changes are made to ./.dns?

My server hosted at Hostgator was recently hit by malware and hence to monitor the file system I use find -mmin -xx command at regular intervals. But everytime I run the find command, I see the first ...
1
vote
0answers
46 views

How to deal with growing BIND9 log files

My DNS server's logs are the text files that growing too fast and one of them is already over 30 MB in size. I didn't set up the max. file sizes. I would prefer just to manually delete the lines ...
1
vote
1answer
59 views

Use client hostnames for DNS

I want to set up a DNS server on my network. I want to keep it simple and just use $(hostname -s).catpants.lan as the DNS entry for each system on my network. Internal DNS only. Is there a way I can ...
1
vote
0answers
137 views

DNS lookup with different Port

I have 2 interface. interface_1 ip address 10.192.0.1 --- interface_2 ip address 192.168.10.2 gw 192.168.10.1 --- default gateway. Not I want to pass my url lookup (keeping 4.2.2.2) with interface_1 ...
1
vote
1answer
878 views

DNS Hostnames - using internal and external zones

Looking for the correct or best practice way of doing this. If you have an external zone called example.com that runs your public mail, web, etc and an internal zone called corp.example.com that runs ...
1
vote
0answers
194 views

OpenVPN “breaks” my local DNS down

Context: Router-computer (Ubuntu 14) runs a wifi AP (wlan0), as a router between clients and Internet (on eth0). For DHCP it uses isc-dhcp-server and DNS resolvers are defined in dhcpd.conf (...
1
vote
3answers
449 views

Security of zone transfers for bind

When having two public DNS servers that provide NS, A, MX, and CNAME records for your domain (website), is it necessary to encrypt the zone transfer data or is it fine to have the master-to-slave sent ...
1
vote
0answers
292 views

OpenVPN is working but not DNS resolution

I am using : uname -a Linux 2.6.32-042stab108.5 #1 SMP Wed Jun 17 20:20:17 MSK 2015 x86_64 GNU/Linux This is my server config: cat /etc/openvpn/server.conf | egrep -v "#|;" port 1194 proto udp ...
1
vote
0answers
616 views

Using Ubuntu Server machine as a DHCP and DNS server to forward URL's to IP addresses

I'm inexperienced with Linux servers but I've done okay so far - basically I want this machine to dish out IP addresses via DHCP (done) and then I also want it to act as a DNS server that simply sends ...
1
vote
1answer
277 views

DNS server's not working in subnet

I have installed two virtual machines on my PC - Fedora Server and Fedora Live Workstation. Fedora Server has two network interfaces - one configured as NAT interface but other one - for working in ...
1
vote
0answers
266 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 ...
1
vote
0answers
26 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 awesomefootball....
1
vote
0answers
671 views

Adding a Wildcard to PowerDNS

I'm trying to use a server on my network (in this test case a Raspberry Pi running Raspbian) as the DNS server for everyone on the network, so I can pick and choose a few websites they access on the ...
1
vote
0answers
574 views

openwrt: dns resolving error from wifi connected devices

I am not sure what have I messed up, but I cannot resolve other pc's in my local network from the wifi-connected devices (laptops and cell phones). I have a separate tower-pc that acts as a dns and ...
1
vote
1answer
79 views

How can I go about tracking down DNS queries?

I was looking at the dnsmasq logs on a router I run and noticed that there are requests to a particular url on a regular basis. This was happening while the only client connected to the network was my ...
1
vote
0answers
180 views

centos virtual machine not registering with intranet dns server

When I am creating a Ubuntu virtual machine on virtual box it automatically registered with DNS server in my intranet network, it has both intranet IP and domain name. When creating CentOS virtual ...
1
vote
0answers
4k views

Kali dnsspoof not redirecting

I am trying to do some "dnsspoof" examples in kali/linux.I set up a windows machine(client:192.168.1.24) and a kali/linux (server:192.168.1.23) I changed preferred dns address to server address in ...
1
vote
0answers
217 views

Forwarding DNS traffic for specific domain

I'm trying to control which IP address I use for DNS based on the domain string. I'm on Fedora with firewalld and have tried the command: firewall-cmd --direct --add-rule ipv4 filter PREROUTING 0 -t ...
1
vote
0answers
196 views

lynx domain shows 404 error when running from localhost

I have a strange problem and I don't know where I have to take a look to fix the issue. I am running the command lynx https://example.com/index.php from the server where the website is hosted on and ...
1
vote
0answers
314 views

Postfix unable to send mail from mydomain only

My domain DNS is served by the domain registrar. I am able to send mail successfully from any address with postfix but not from mydomain.com From this machine - I only want to be able to send mail. ...
1
vote
1answer
213 views

DNS local area vs DNS Virtualbox

I have been trying to set up a DNS server on my system using Linux and bind. (I'm working with CentOS and Linux on my Windows 7) On my Linux everything seemed to work:I can access my server and ping/...
1
vote
1answer
306 views

DDNS (dynamic-dns) setup and adding a hostname to a device (to be visible on the network)

How do I provide a fixed Hostname to my device so that a netscan can shows up the device name across all platforms? How can I reach the device using the hostname/MAC-ID (something which is fixed) ...
1
vote
1answer
513 views

bypass firewall with Openvpn + Squid

I have 2 VPS servers, one in China and another in the US. The server (openvpn client) in China is connected to the US one via openvpn. I also have squid running in the China server. I want to ...
1
vote
0answers
1k views

rndc addzone failed: not found

I installed bin 9.8.4 (default) on Debian Wheezy. after configuration I tried to add a slave zone with the following command: rndc addzone test.zone '{ type slave; file "test.zone"; masters { ns....
1
vote
0answers
104 views

Deliver emails outside network, from a server behind router DNS and port forwarding

I've been trying to configure webserver to deliver emails outside the local network. Server is connected directly to the router and relay on its DNS service, and one of that online service for resolve ...
1
vote
1answer
202 views

NSD Zone file wrong resolution

I've set up NSD with the following zone file: $ORIGIN ldom. ; my "Local DOMain" @ IN SOA lserver root.lserver ( 44 ;serial ...
1
vote
1answer
178 views

Setting up Bind9 - lsb-base not in sources

I've been having real trouble installing Bind9 following this tutorial http://forums.debian.net/viewtopic.php?f=16&t=39146 When I get to entering these commands: apt-get -y build-dep lsb-base ...
1
vote
0answers
2k views

Getting Samba 4.1's “internal DNS” to update hostnames from dhcpd

Samba 4 comes with its own "internal DNS" which can be used rather than BIND. Since Samba 4's main new feature is AD replacement, I would figure that its DNS would function similarly to Windows ...
1
vote
3answers
4k 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
693 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 ...
1
vote
0answers
5k views

Hostname won't resolve, DNS issue, loop detected

I've searched everywhere and tried all the suggestions that I've seen, but I just can't get this to work now (it was working before). This is the first time I've ever installed a test server that I ...
1
vote
1answer
431 views

Opendns setup failed. How to fix it?

I have problems trying to configure OpenDNS. I have contacted OpenDNS support but they did not answer. I cannot access websites like Twitter and Facebook. I tried welcome.opendns.com (did not work, ...
1
vote
3answers
470 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: domain localdomain search localdomain nameserver 172.16.170.2 ...
0
votes
0answers
18 views

web browser stuck in dns look up, but drill result is good

web browser (tried both ff and chrome, similar symptom) stuck in DNS look-up for very long time. but drill shows reasonable results. what could have been the problem? I noticed drill using different ...
0
votes
0answers
20 views

DNS round-robin and keepalived

I'm experimenting with a pair of HAProxy servers in an HA load balancing configuration. What I'd like to do is get a pair of IP addresses to put in a DNS round-robin, and have keepalived maintain one ...
0
votes
0answers
25 views

ConnMan using VPN DNS server

I have a Raspberry Pi 3, which is running OSMC which includes connman for networking. I have it setup to create a tethered wifi which routes traffic through the ethernet. I now face a problem with ...
0
votes
0answers
7 views

Why 'Proxychains' needs a specific DNS?

You can check using remote DNS when you set your Firefox work with socksproxy, but why I have to specify another dns manually in /usr/lib/proxychains3/proxyresolv? Can it be set as remote DNS?
0
votes
0answers
13 views

nslookup ip query

I am member of the domain at work, and we have our local DNS resolver. Sometimes I'd like to know the hostname of a specific IP, so I run the IP through nslookup which uses our domain-controller/DNS ...
0
votes
1answer
11 views

How to connect from a host to an external dnsmasq running on a VM?

I have a dnsmasq running in a VM image. From the host (where VM is running), I would like to connect to it for name resolution. How can I achieve that? Thanks.
0
votes
1answer
32 views

Network problems after system reboot - Ubuntu 18.04 Server

I have a problem with one of my Ubuntu 18.04 servers. After a recent power cut, I can no longer connect to it from outside the network. I'm currently SSHing to it through another server in my ...
0
votes
0answers
49 views

resolv.conf is configured, but DNS not working

I am stuck with DNS issue on Debian server. My resolv.conf configuration is nameserver 192.168.1.3 When I try to ping google.com, I have "Temporary failure in name resolution". So, I add 8.8.8.8 ...