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.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

Can't receive packages through wifi [duplicate]

In my Linux Mint 18 installation I can connect to the WiFi just fine however the Internet connection stops working nevertheless... It will take ages trying to look up the respective web address I ...
0
votes
1answer
590 views

Bind 9 logging is not working

I am using RHEL 6.5 server for Master DNS server. And using BIND 9.8. All are working fine. But customized logging is not working. Here is my configuration file- logging { channel general_file { ...
3
votes
0answers
223 views

Map DNS requests coming from specific client MAC with dnsmasq

I'm using dnsmasq on OpenWRT. Is it possible to map certain hostnames for DNS requests coming from a specific client? The ultimate goal in my case is to map certain hostnames to 127.0.0.1 to block ...
4
votes
3answers
36k views

How to flush the DNS cache in Debian?

How can I flush the DNS cache in Debian 9.1 with KDE?
0
votes
0answers
38 views

DNS query with bad logic

I built a script that queries the domain registry. Just a disclaimer, this is NOT a hacking attempt. I am trying to gather a list of domains that my company does NOT host. Lets assume that the ...
1
vote
1answer
5k views

What does “search localdomain” do in resolv.conf?

When connecting to the Internet by default I get two lines in my /etc/resolv.conf file: search localdomain nameserver {ipofmyrouter} I'd like to know what exactly "search localdomain" means there. I ...
0
votes
0answers
64 views

DNS zone overlap

We have two zone www.example.com and example.com, our website hosted on www.example.com so it has @ IN A x.x.x.x record in www.example.com and every this working fine. But today we host website on ...
2
votes
1answer
938 views

How to reorder /etc/resolv.conf at load time [duplicate]

I have a CentOS system that retrieves its upstream DNS servers via DHCP. I want to run DNSMasq on this box and use it as a server to resolve some hostnames for development. The problem is when my ...
1
vote
0answers
591 views

Openwrt Force DNS

I am working with some content filtering using openDNS. I am trying to get openwrt to redirect traffic for certain clients, based on MAC addresses, to openDNS servers. Here is my setup: openwrt ...
0
votes
0answers
2k views

Configuring a dns server and client in Ubuntu

I have configured the following two ubuntu 16.04 machines: dns client: 192.168.248.190 dns server (bind9): 192.168.242.116 I basically followed this and only setup the forward zone file https://www....
2
votes
2answers
2k views

dig / nslookup cannot resolve, but ping can

I'm experimenting with a Win10 IoT board that runs a web interface on minwinpc.local. This works fine in the browser, and also when I use ping. However, when I use dig or nslookup, I cannot get ...
1
vote
1answer
257 views

Reverse DNS fail

I have an installation of Zimbra 8.7 CS multi server Server A: single-server installation (mail.jbv.cl 200.54.163.182) with two domains (jbv.cl and grupojbv.cl) Server B: a second MTA (smtp.grupojbv....
1
vote
0answers
118 views

How do I view the DDNS leases from BIND9 and DHCP server?

How do I view the DDNS leases from BIND9 and DHCP server? I have set up isc-dhcp-server updating leases with a fixed IP address from /etc/dhcp/dhcpd.conf to BIND9 zone and reverse zone. This command ...
2
votes
2answers
1k views

How to block hostnames with wildcards or Regex?

Currently I uses a big /etc/hosts to block unwanted hostnames. But the file is getting bigger and bigger closing in on 700000 entries. The are many similar entries so I would like to use wildcards ...
1
vote
1answer
55 views

Linux DNS client modification

Is there a way in Linux to make it so when the DNS client looks up information on a DNS name it would return an IP number, even if it does not exist? I am creating a testing environment, and I want ...
1
vote
0answers
705 views

Unbound forwards local requests the wrong way

Good dag. In my network, I have two dns cache/resolvers: Dnsmasq on the router. Unbound on another server. Dnsmasq runs perfect. It provides local dns from the dhcp and the hosts file. Unbound is ...
0
votes
0answers
52 views

Stop changing my DNS! [duplicate]

I am using Linux Mint and tethering Internet through my phone. Every time I enable tethering, my DNS on computer is being set to 127.0.0.1 which results in being unable to resolve any name. I have to ...
1
vote
2answers
6k views

search domain in resolv.conf is not appending to hosts when doing ping or other network communciation

I am trying to find out why multiple search domains do not work with Debian 8.8.0. If you add the search domains in /etc/resolv.conf it will only work with one of them & in this case domain1.local ...
0
votes
0answers
534 views

“Temporary failure resolving 'security.debian.org'” despite having allowed DNS via ufw

So I denied everything except DNS, HTTPS and HTTP in the gufw firewall. ufw status verbose looks good with no DENY for port 53 and only allows at the bottom of it. I even executed sudo ufw allow 53/...
1
vote
1answer
138 views

Why host command works for reverse DNS testing but not otherwise?

I can test my zone files with named-checkzone, and it looks ok. 45.20.10.in-addr.arpa.zone zone file (reverse DNS): $TTL 30 @ IN SOA localhost. admin.example.com ( 2017080101 ;serial 3H ;...
0
votes
1answer
2k views

How do I explicitly disable DNS servers in dhcpd.conf?

My dhcpd.conf looks like this currently: interface wlan0 static ip_address=192.168.0.200/24 static routers=192.168.0.1 static domain_name_servers=192.168.0.1 The system is going to be on an offline ...
0
votes
1answer
649 views

Why I see this output in netstat (Local Address)

I have a server in a small network. This server has a hostname, let's say hostname1.network.internal. And the current IP adress of this server is 192.168.0.54. But when I call the command netstat | ...
0
votes
1answer
4k views

named-checkzone displays “ignoring out-of-zone” data

I came across a strange problem. Maybe someone knows the answer. I use named-checkzone to check my zone file. The following zone file will display ignoring out-of-zone data when I use fully qualified ...
0
votes
1answer
130 views

Different DNS answers per ip using bind DNS

I need to configure bind DNS to respond different answers based on requesting IP. as an example if user request example.com from 192.168.1.10 should get 1.1.1.1 and 2nd user request example.com from ...
0
votes
1answer
106 views

BIND / old DNS entries in Google cache

Today I was presented with an interesting problem; someone changed two MX records in a DNS/BIND in a rush as a stopgap to yet another situation in two of our domains xxx1.pt and xxx2.pt. As such ...
1
vote
1answer
416 views

DNS Unreachable

I was wondering what I did wrong when setting up the DNS Server on RedHat. The DNS Server is to resolve names within an internal network only. Example: server1.test.net will resolve -> 172.16.32.100.. ...
2
votes
2answers
105 views

Network Anonymizing Question

While using Linux, I have been doing some research on anonimizing my traffic using various tools. However I am a little confused on all the tools I should be using. Here are some I am currently using: ...
1
vote
2answers
1k views

Fedora 26 and fully qualified domain names?

I installed Fedora 26 for testing under GCC 7. F26 is installed in a 64-bit VirtualBox VM. I ran the following commands to configure the system post-install, and then rebooted: localhost:~$ sudo ...
2
votes
3answers
17k views

Can ping 8.8.8.8 but can't browse internet

Everything was working just fine on office wifi, but suddenly I can't seem to browse any site. I can ping 8.8.8.8 just fine, but ping google.com returns ping: unknown host google.com. Also my browser ...
1
vote
2answers
727 views

Change DNS servers but keep DHCP assigning IP address

I would like to change my DNS servers but keep whatever IP address is assigned by the DHCP (which runs on my Huawei HG255s router). I run Debian Testing with KDE 5. Changing resolv.conf doesn't help ...
0
votes
1answer
67 views

How can I access my web server mounted with virtualbox in my pc from internet?

I have a web server with virtualbox in my pc, but I require that it can be seen from the internet, entering with the domain name that i have. I have a fixed ip address and a domain name with godaddy. ...
1
vote
1answer
72 views

How does domain name preseeding work?

I've just set up nextcloud according to this guide: https://www.linuxbabe.com/ubuntu/install-nextcloud-11-ubuntu-16-04-nginx-config It's on a DigitalOcean VPS and I have the domain name dynamically ...
2
votes
0answers
101 views

How do I use OpenVZ 7 hardware node for name service caching with *all* container types?

I've stopped using OpenVZ for a couple of years and now I'm back at it I feel somewhat overwhelmed by the increased level of complexity. I'm just stuck for hours on this simple task: I want to use ...
4
votes
1answer
2k views

AWS Internal DNS does not resolve

I was trying to migrate an A record from a public DNS to an internal DNS in Route 53. I figured something like this would be fairly straightforward: Remove A record for server foo.bar.net (Public DNS)...
3
votes
1answer
2k views

How to stop openconnect from changing DNS settings

Since my college is using this horrible Cisco AnyConnect VPN, I am trying to find my way around their client software and discovered openconnect. So far it works great and thanks to a different ...
1
vote
1answer
5k views

CentOS7 unable to resolve nslookup for short hostname

I tried setting up a DNS Lookup on CentOS 7 (in a Virtual Box VM), which works for FQDN on the same virtual machine as the DNS. However when I try to resolve the short hostname, it fails. I have seen ...
2
votes
0answers
914 views

Some services on debian 9.0, can not resolve domain names

Recently, after a dist-upgrade to Debian 9.0, I happened to notice that danted (a socks v5 proxy server) and stunnel4 (an SSL/TLS tunneling service) services can not resolve domain names. In danted ...
1
vote
2answers
3k views

Can't ping localhost [closed]

I have an issue with the localhost alias. It doesn't work. Basically, no program can resolve localhost to 127.0.0.1. The alias is in /etc/hosts: [root@gabriel-notebook gpoesia]# cat /etc/hosts # # /...
1
vote
1answer
1k views

Making “host -v hostname” command work for CentOS 7

I have a fresh CentOS 7 install. During installation, I provided centa.home.local as hostname. Now one of the software needs to see "host -v centa" output to locate the server IP address on server. ...
2
votes
1answer
2k views

Local NS list does not match Parent NS list

I installed a new BIND server "dns4.clicplus.com" which resolves correctly from the local network and externally. The problem is when I test with: # dig @8.8.8.8 dns4.clicplus.com Nothing is ...
3
votes
1answer
3k views

How do I make resolv.conf work the old way on modern Linux distributions?

In /etc/resolv.conf on modern distros link Mint 17 and Ubuntu 16, there's a warning: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND ...
0
votes
0answers
1k views

How to disable DNS AAAA queries on an IPv4-only host?

I observe at least three installations of different Linux (Ubuntu 16.04, Antergos latest as per 2017-06-28, Debian 9.0) with the following behaviour: IPv6 is deconfigured (no Address assigned) The ...
1
vote
0answers
139 views

Problem in receiving answers from bind DNS server

As a part of an experiment I'm running 3 Ubuntu machines in the Create environment. Call them client, server and attacker. Client connected to server. (10.1.1.2 and 10.1.1.3, respectively) Server ...
0
votes
1answer
682 views

BIND Setup - Serve internal LAN, query outside results

Setting up a internal private server for some testing on our corp LAN. I want it to be authoratative for a internal domain and hosts, but be able to resolve stuff on the internet (google, yahoo etc.) ...
1
vote
1answer
686 views

Does systemd make dig/nslookup useless?

I'm trying to debug some issues on dns resolving and was trying nslookup (now deprecated) and dig. I am, however, on a system that uses systemd for configuring /etc/resolv.conf. ~$ cat /etc/resolv....
5
votes
1answer
2k views

Interpreting the output from systemd-resolve --status

It seems that on newer Linux systems you can no longer check the DNSs by doing cat /etc/resolv.conf. It is now done by systemd-resolve --status. Below is an example output of that command: user@user:...
1
vote
2answers
158 views

Can the “\” character in the PTR record be allowed?

When I connect to my WiFi router (TIM) my machine is logged on the internal DNS to the router and the PTR with the value: MBP-di-Antonio.homenet.telecomitalia.it. I get the PTR value via the command: ...
0
votes
1answer
620 views

Slow initial connections. Ping/Traceroute significant start up time, no packet loss [closed]

I am running NixOS, and ever since I installed it a few days ago I've been noticing a significant delay when initially connecting to websites. Before installing it I never observed such an issue, and ...
1
vote
1answer
271 views

Fedora 25 first DNS lookup times out

Not sure where to begin, but recently my DNS lookups have become extremely slow, always 5 seconds. After running strace ping -c 1 google.com I noticed that the first DNS lookup always times out: poll(...
0
votes
1answer
88 views

I can only connect internet to employers wifi. Apart from it, I am able to connect to wifi, but I am not getting internet

I have a strange issue. If I connect to Ethernet or wifi in my office, I get the internet. But I can't get the internet in the home wifi or my mobile phone hotspot. I get the following when I try to ...