Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
11 views

There is any difference between this zone syntax?

I'd like to build bind zone files via Ansible. To decide how to structure the jinja2 template I need to know if there is any difference in any of these zone configurations: 1.) good old fashioned way:...
0
votes
1answer
5 views

bind 9.9.4 rndc: connection to remote host closed

I have installed bind-9.9.4-72 on CentOS 7.6 and everything seems working i can query my local zone and remote address etc. but somehow rndc not working This is what i did to configure rndc rndc-...
0
votes
0answers
22 views

Server can ping host file addresses but cannot others

I'm using dnsmasq in order to create a dns local server. And it is working well. But now i cannot ping, from server, other websites out of hosts file addresses. for instance, i cannot ping google.com ...
1
vote
0answers
20 views

DNS for netdevices [duplicate]

I apologize for my English. So, for example, there is a cisco switch with the following config: hostname cs ip domain name office.local ip name-server XXXXXXXX Is it possible to make that the ...
1
vote
0answers
40 views

DNS for Net devices [on hold]

I apologize for my English. So, for example, there is a cisco switch with the following config: hostname cs ip domain name office.local ip name-server XXXXXXXX Is it possible to make so that the entry ...
1
vote
1answer
41 views

Update of /etc/resolve.conf needs restart of application

I am working with an embedded linux Target (ARM) and have the following problem: When /etc/resolv.conf is updated, while a process is running (e.g. C Program using gethostbyname()) the running process ...
0
votes
3answers
46 views

UFW is blocking DNS requests through VPN [on hold]

I have a very strange behaviour of my UFW on Ubuntu 18.04. I set up basic rules, everything is OK until I connect client to this server through VPN. On the client side ping works fine but nslookup / ...
1
vote
3answers
29 views

Is it possible to check for DNS-leaks on unix server?

I run a Ubuntu server where I have a split tunnel for VPN. Which means I have a "normal" connection to the internet for most of my services but also a tunneled connection that only a few services use. ...
-1
votes
1answer
30 views

How to forbid my PC in LAN to make DNS queries? (in a PC -> VPN gateway scenario)

scenario: i have 2 pc's that are connected to each other over ethernet in a lan and one of the pc's is configured as a gateway that tunnels the traffic of the other pc over to a vpn service. ...
0
votes
1answer
27 views

using local dns to allow domain based transparent proxy

I am from iran and some websites are blocked for iranian ips (like nvidia and intel and so on). there is this website that advertise that I can access those domains buy just changing my dns to theirs. ...
1
vote
0answers
28 views

request.getRemoteHost() returns IP address instead of FQDN

I am designing a servlet in which I would like to determine the fully qualified domain name (FQDN) of the client. I am attempting to use javax.servlet.HttpServletRequest.getRemoteHost() in order to ...
0
votes
1answer
32 views

DNS zone not loading: Permission denied

i see in the named data file the zone i created will not load because of a permssion error: [root@office1 tmp]# cat /var/named/data/named.run info: managed-keys-zone: loaded serial 11 info: zone 0.in-...
0
votes
1answer
26 views

A question about DNS zone configuration file

Why does the DNS zone configuration file carry "1912"? [root@localhost redhat]# ls /etc | grep 1912 named.rfc1912.zones
0
votes
1answer
22 views

resolv.conf + is it necessary to defined the domain in resolv.con

we have DNS server - 103.16.36.88 , that resolve all host and IPS more /etc/resolv.conf # Generated by NetworkManager search Jupiter.com nameserver 103.16.36.88 domain Jupiter.com but I am not sure ...
1
vote
1answer
12 views

do “search domain” in networkd configuration and LLMNR conflict?

in networkd man page, the search domains are used to handle single-label names: The domains without the prefix are called "search domains" and are first used as search suffixes for extending single-...
1
vote
2answers
50 views

How single-label dns lookup requests are handled by systemd-resolved?

I looked into the systemd-networkd and systemd-resolved: systemd.network(5) on manpages.ubuntu.com systemd-resolved.service(8) on manpages.ubuntu.com and I am confused by some words: systemd-...
0
votes
1answer
19 views

Exernal addresses not resolving

I recently changed ISPs. I got a new router. After a lot of messing about I have the router running almost the way I want it. However, since then my Raspberry Pi can't resolve external addresses. So, ...
0
votes
1answer
37 views

Different page from a browser and wget [closed]

EDITED TO REMOVE OBSOLETE EXAMPLES I have a very curious case that has dumbfounded me. I was trying to get a certificate from letsencrypt and I was consistently getting errors that certbot is unable ...
1
vote
1answer
51 views

BIND Reverse DNS Ignoring out-of-zone data

I have a simple, single-address reverse DNS PTR for 10.142.0.2 to gbox.example.com record set up like so: # cat /var/named/zones/0.142.10.in-addr.arpa.db $ORIGIN . $TTL 1D 0.142.10.in-addr.arpa. IN ...
0
votes
0answers
125 views

Ubuntu 18.04 LTS upgrade to 18.10: how to fix site not reachable in browser but ping and dig works?

Yesterday I updated Ubuntu from 18.04 LTS to 18.10, all is working fine, but I'm having some problems with networking stuff. Maybe DNS. ping my-website-.com is working fine, as well as dig my-...
0
votes
0answers
28 views

Bind - Configure different Forwarders only for Specific Domains CDNs (eg. Wetransfer, Cloudflare, Amazon AWS)

INTRO I've setup a linux box where there's a BIND that serves me as a local dns. Basically by taking advantage of RPZ I can restrict some hosts and at same time with DNSCRYPT I forward everything to ...
7
votes
1answer
169 views

How to deal with underscores in hostnames?

I got DNS set up on my company's server and it works just fine, except I got problem with some phones. For example one of the phones is “Huawei P9 lite”, and it's hostname (set on the phone, no chance ...
5
votes
2answers
133 views

systemd-resolved block a domain name

Using systemd-resolved how do I block, route, or resolve, a domain name to a black hole, or a nowhere address. Bonus points for subdomains as well. I tried a single domain in /etc/hosts: 127.0.0.1 ...
-1
votes
1answer
27 views

List DNS Servers Obtained Via DHCP

Is there a way to list the DNS servers obtained through DHCP alongside IP addresses information (equivalent to the Windows command "ipconfig /all")? It seems needlessly tedious to run either "nmcli ...
1
vote
1answer
142 views

resolve my ip with dig returns empty string

When trying to resolve my public IP address I get an ampty string ip=$(dig +short myip.opendns.com @resolver1.opendns.com)
0
votes
1answer
37 views

Some web sites can not be reached [closed]

With my laptop running an arch-linux I can not access some websites when I am at home like for example: https://www.wikipedia.org/ https://wiki.archlinux.org/ https://www.leo.org/ But I can access ...
0
votes
1answer
17 views

Adminstering GoDady using CLI/API

Is there any tool CLI/API where one can automate the GoDady DNS related operations such as addind/removing DNS records and managing SSL certificates and domain names? without wasting time around on ...
0
votes
1answer
54 views

Debian 9 allows hidden DNS queries?

In previous Debian Jessie I could configure iptables to restrict DNS traffic to my own router (192.168.1.1): Chain OUTBOUND (1 references) target prot opt source destination ...
1
vote
2answers
26 views

servresolv.conf become blank when system is running

I use dhcpcd to manage this file. First, start dhcpcd service, and the file has something with namesever. All things can be done correctly. But this file will become blank after a while. I try ...
0
votes
1answer
34 views

Restricting systemd units to specific host based on DNS alias?

I know that it is possible to restrict systemd units to a specific host by using the ConditionHost condition in the unit file. This ConditionHost is tested against the result of calling hostname. ...
0
votes
0answers
11 views

how to use dnsd / bind for ip resolving?

I am using ltib + busybox and I recently installed bind + dnsd so I could resolve urls. I tried going over this manual for bind but failed at the start as I have no /etc/bind dir. So, I moved to ...
0
votes
1answer
20 views

How to locate the module that handles DNS resolving in buildroot?

I have 2 different Linux devices, one's kernel is done using ltib (L from now on), and the other's by buildroot (B from now on). I manage to add a DNS resolver to B by using: echo "nameserver 8.8....
0
votes
0answers
31 views

Subdomains get NXDOMAIN on Ubuntu Desktop 16.04

Problem Many (or all?) subdomains like files.slack.com and guide.elm-lang.org get DNS_PROBE_FINISHED_NXDOMAIN on Chrome. Using nslookup returns: Server: 127.0.1.1 Address: 127.0.1.1#53 ** ...
0
votes
0answers
48 views

PowerDNS recursor not resolving domain

I want to host my own dns server so I've set up PowerDNS (Authoritative DNS) on my local server and it resolves my local domains as intended, but as PowerDNS being an Authoritative DNS, I can't ...
0
votes
2answers
59 views

not all nameservers are looked up

So I have multiple nameservers in my /etc/resolv.conf, but regarding the order in which they appear, I am able or not to resolve my corporate VPN hostnames: when VPN's DNS precedes my local one, I am ...
0
votes
1answer
73 views

Domain Name Routing on Ubuntu Server [closed]

I am trying to route my domain name on my DigitalOcean Ubuntu Droplet. I was curious if there is a default location where I can go to route this or if it is not that simple. The server is running ...
0
votes
0answers
58 views

Bind: match a client against multiple views

I am trying to configure Bind (BIND 9.10.3-P4-Raspbian) with some custom DNS records for LAN usage and some global records to block certain domains. I am running with a single Raspberry Pi 3 B+. ...
-2
votes
1answer
41 views

Tracing DNS request

I have static IP in my Debian Lenny system and ping by IP to Internet works fine. Unfortunately www.google.com is not resolved by name. I can't install any additional software to my Linux since it ...
0
votes
1answer
154 views

dnsmasq not working after reboot

After rebooting, dnsmasq service is running, but does not respond to remote requests (trying using "dig @10.0.0.1 stackexchange.com" from another machine). The log looks good in my opinion: Aug 11 17:...
1
vote
1answer
47 views

How do I specify the order that Network-Manager populates /etc/resolv.conf

Network Manager is posting the correct name servers and search domains into /etc/resolv.conf when I restart the network. However, it is not in an order I like. How can I tell Network Manager to ...
0
votes
0answers
14 views

Query a DNS server using cache from bash in MacOS

I would like to use the DNS cache when querying a name from bash. I'm using dig command but it's quite slow and I would like to speed it up. I'm currently using the following command. dig +short $...
0
votes
0answers
32 views

How to address error messages when using openntpd's “constraints from” feature?

My openntp configuration is as so: servers pool.ntp.org sensor * constraints from "https://www.google.com" And I am seeing the following messages: constraint request to 2607:f8b0:4007:80b::2004 tls ...
0
votes
0answers
18 views

How do I add DNS servers to openvpn client in Debian 9? [duplicate]

I am installing an OpenVPN Client that uses Debian 9 Strecht OS. I created the config file and it works perfectly fine in Windows and older installations of Ubuntu but when I connect from a freshly ...
-5
votes
1answer
131 views

DNS spoofing in Kali Linux [duplicate]

I'm trying to learn some stuff about DNSspoofing, but it didn't work well for me. Here's what i have done. step 1 : turn my NIC into promisc mode using the following command ifconfig wlan0 promisc ...
0
votes
1answer
76 views

Chainging proxychains DNS port

I am using a proxychains on Kali with a DNSCrypt nameserver which operates on port 443. When I start proxychains it tries to connect to the DNS server on port 53 and it returns a timeout. How can I ...
3
votes
2answers
810 views

How to make systemd-resolved stop trying to use offline DNS servers?

I have configured my DHCP server to supply two nameservers for redundancy, so that if one is offline the other one can be used. I have configured my PCs with systemd-resolved and according to ...
1
vote
1answer
164 views

Iptables masquerade breaks dns lookups

I'm testing something with IP masquerade on locally generated traffic but it seems to be breaking DNS lookups. Everything else works fine--all IP traffic without DNS queries work. $ iptables -t ...
0
votes
1answer
181 views

How do I get DNSMasq to serve up DNS to Windows hosts without a domain?

I Have an Ubuntu 16.04 host (10.0.10.2) with DNSMasq installed which is only serving up DNS, and a couple Windows hosts on the same subnet, as well as a couple other Linux hosts on the same subnet. ...
1
vote
0answers
34 views

qemu guest is bypassing host's firewall

I've got a Ubuntu host running several virtual machines using qemu-kvm. Every guest should use our local DNS server, so I blocked outgoing DNS requests using ufw on the host machine: sudo ufw deny ...
1
vote
1answer
47 views

Can't get authoritative DNS server working (BIND9)

I'm trying to make a BIND9 DNS server work on a Debian server for an assignment at school. The problem is that, when I try to test my DNS server with dig -t soa my.domain.com @ns.my.domain.com, I just ...