Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
0answers
3 views

Inconsistent internet connections only when running ArchBang connected to home router

I apologize up front as I do not know how much of the following is actually useful. I thank you in advance for muddling through it. I have an early 2011 MacBook Pro, I installed ArchBang and am ...
0
votes
1answer
15 views

Update Failed: Download failed. cURL error 6: Could not resolve host:

I am getting the error "Update Failed: Download failed. cURL error 6: Could not resolve host:"  on WordPress on my vps server...I have also noticed it in other applications as well. As a consequence, ...
0
votes
0answers
27 views

Setting up multiple network interfaces using /etc/network/interfaces

I'm trying to setup my 4 network interfaces to have a specific dns-nameservers and dns-search so I can be connected to my domain using any of them but it's not working properly as when I run systemctl ...
-2
votes
1answer
23 views

primary Dns synchronization when use two ip [on hold]

If I have create two slave and primary dns servers . each one has two ips , one public ip and other intra net ip (just my customers can see) .My customers will query dns through local ip and dns will ...
0
votes
1answer
22 views

How to disable network-connectivity-check on linux mint?

(Virtualbox OS: Linux Mint 19.1 Tessa) I am trying to disable the network-connectivity-check on Linux Mint. This website shows how to disable it in the GUI for Ubuntu 17.10. Unfortunately in Mint ...
0
votes
0answers
23 views

Can't resolve domain with Unbound (DNSSEC problem?)

I'm using a raspberry with pi-hole and unbound (1.6.0) to manage my DNS. Some days ago, I recognized that I have troubles with some domains but I didn't thought about DNS problems on my side. Today I ...
0
votes
1answer
35 views

DNS + DHCP in home lab [closed]

Setting up a home lab. I was originally planning on using static ips for everything and then powerdns + poweradmin for DNS. Recently though it dawned on me that it would be a lot simpler to just use ...
1
vote
0answers
19 views

Fedora 29 VirtualBox will not use DNS from host VPN

I am running a Windows 10 machine for work (required) and so use VirtualBox to get a Fedora 29 machine so I can run code locally before pushing to production. Our github is behind a VPN and we use ...
0
votes
1answer
14 views

Force run a dhclient script?

I'm seeking to prepend a local resolver into /etc/resolv.conf using a dhclient script at /etc/dhcp/dhclient.conf: prepend domain-name-servers 127.0.0.1; Is there a way for me to force dhclient to ...
1
vote
2answers
23 views

How can I set a custom DNS server within Nixos?

I've not found much information in the manual. I've tried to manually modify the file /etc/resolv.conf however this seems to be overwritten by something? How can I achieve this?
0
votes
1answer
21 views

Should I configure the DNS2 to an other company's DNS address?

When I configure the interface's DNS, we often configure 8.8.8.8 and 8.8.4.4, but I have a question, because the 8.8.8.8 and 8.8.4.4 all are belong to google. will the bellow be better than the ...
1
vote
1answer
62 views

Redirect all outgoing DNS queries to local stub resolver at 127.0.0.1:53

I am attempting to redirect all outgoing DNS queries on my Linux box to my local caching stub resolver (unbound). iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to 1.1.1.1:53 iptables -t nat -...
3
votes
1answer
100 views

Make separate mail server from web server [closed]

We have one physical server: there are www (web site) and mail on it. Server has 2 public ip addresses, one for www and one for mail. Server also has DNS on it, O/S is Red Hat Linux. We want to ...
2
votes
0answers
30 views

Can I alter the result of DNS resolution for a VPS?

I have a VPS hosted by a no frills provider and have an IP that I log into through SHH. When I run a traceroute on it, the final hop identifies the location service as ip-somebrand.com. As my ipv4 ...
3
votes
1answer
31 views

How do I force dnsmasq to use a specific DNS server without affecting the host systems DNS settings?

How do I set dnsmasq to use one specific DNS server without changing which DNS server the host system uses for its own DNS requests? I should clarify I am not using dnsmasq as a DHCP server but only ...
1
vote
0answers
48 views

ntp using ipv6 address instead of ipv4

I have a laptop running a version of Linux ( 3.12 ). I have ntpd installed and configured to sync with time.google.com. The problem I am having is if I am plugged into a network that only provides ...
0
votes
0answers
41 views

What is the recommended way to set a global DNS server override on a system using systemd-resolved?

I would like my newer GNU/Linux system (Ubuntu 18.04 LTS) to use a single, manually-configured, DNS server for all DNS queries. In the past, I could simply do echo "nameserver 1.1.1.1" | sudo tee /etc/...
0
votes
2answers
48 views

SSH-keys ipv4 ipv6 connection issue

Update: I found this question which seems to be very related. Not sure how exactly. What am I missing? I can only use ssh when it resolves through https hostnames? Normal ssh it hangs kinda like ...
-1
votes
0answers
14 views

Is There any Method Of Automated Delisting Blacklisted IPs for SMTP Servers?

IPs for SMTP servers get blacklisted all the time, and it's painstaking to get them delisted manually, especially if you got dozens or hundreds of SMTP servers to manage. So can we hope for any ...
0
votes
0answers
29 views

How to auto populate /etc/resolv.conf when using a static configuration

I'm on an IoT device running busybox with glibc. When I have a DHCP setup in /etc/network/interfaces then udhcpc atuomatically updates /etc/resolv.conf. I can see this by clearing /etc/resolv.conf and ...
2
votes
1answer
21 views

Forward DNS requests for a zone except one record?

I've got a domain name and hosting web content with a provider, so have for example server.example.com hosted in the cloud. The provider also manage my DNS. Now I would like to run nextcloud on my ...
1
vote
0answers
60 views

How do I configure my system, to use a specified DNS server, for all connections? [closed]

I want to use a set of custom DNS addresses, for all connection, without resorting to change configuration for each connection individually. In the Network Manager I can change the preferred DNS ...
0
votes
0answers
16 views

Unbound resolving to high ping servers

I have installed unbound on my Pi Hole to get DNS over TLS for my entire home network. I realized that my home network had gotten slower than before. At first, I thought it may be because of Unbound ...
0
votes
1answer
51 views

Redhat repos not found

I have a Redhat 7 system on loan from a customer in order to install a 32-bit application. To get the application to work, I need to install the gtk2.i686 toolkit. By doing this command: yum list --...
0
votes
1answer
57 views

How to solve a temporary failure in name resolution error?

I've installed Kubuntu 18.04 on a desktop with an ethernet connection. During the installation, updates were downloaded and the internet was working fine. Once the operating system is installed, every ...
0
votes
1answer
47 views

Can you assign different DNS servers to different network interfaces?

I am trying to have my eth1 use 10.50.1.11 and 10.50.1.12 dns servers whilst my eth0 interface uses 8.8.8.8 and 8.8.4.4 dns servers. I am running centos 7 vms within xenserver 6.5. eth1 is a closed-...
0
votes
1answer
18 views

host header url for linux web server

I am running a webpage on Apache at my vps(Debian) with the url of http://vps.foo.com/stuff.html. How can I change it so that the url is only stuff.foo.com? I use to do this in IIS many years ago, not ...
0
votes
2answers
97 views

nmcli won't let me remove DNS entry from /etc/resolv.conf

Centos 7.5, nmcli version 1.20.2 Whenever I try to remove entries from /etc/resolv.conf I get the following errors. [root@client ~]# cat /etc/resolv.conf # Generated by NetworkManager search home ...
0
votes
0answers
14 views

AWS route53 domain not resolving to private ubuntu 16.04

I have the domain and sub-domain in AWS route 53. domain.com sub.domain.com the 'A' record of sub.domain.com added with the public ip of the instance. And an ubuntu 16.04 server privately hosted, ...
0
votes
0answers
57 views

Manage a VPN TUN connection under fedora 29 dhcp routing dns

SoftEther is a nice project to establish a VPN a bit easily using both windows and linux enviorment. It has also a vpn azure ddns. My enviorment is A network 192.168.1.0/24 with various host most ...
0
votes
0answers
68 views

Weird DNS problem with Ubuntu 18.04

I'm facing the following rather strange issue with my DIY NAS running Ubuntu 18.04. (I think that's when this happens...) When the system is restarted (say, after a power failure) it sometimes isn't ...
1
vote
0answers
46 views

dnsmasq dns nameserver priority parameters - strict-order

I have a setup specifying two DNS namservers. One in local, the other is external. The local one is a pihole, which itself forwards requests externally after url filtering. The external one is set ...
1
vote
1answer
56 views

DNS forward only

Need clarification on the documentation on this topic somewhat and wanted to get more info on the following but just can't put my finger on it. Below is a snippet from a DNS BIND 9.9 configuration. ...
0
votes
2answers
108 views

How to access a device connected in local network with hostname?

I tried accessing a webpage in a server within the local network with the host name of the device followed by its folder path and the name of the file(it is a basic php file). In first system it ...
1
vote
1answer
234 views

What are DNS server, resolver and stub resolver?

https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html#Description says Additionally, systemd-resolved provides a local DNS stub listener on IP address 127.0.0.53 on the ...
0
votes
1answer
25 views

Command to resolve domain name giving only IP address/in-addr.arpa

I currently this to return the IP address of a host or return the in-addr.arpa record: host $1 | perl -pe 's/.* mail is .*//; s/\n//;s/.* has address //;s/.* domain name pointer //;s/.* not found: ....
2
votes
0answers
104 views

Why is systemd-resolved falling back to using Google Public DNS over IPv6 when I did not configure it to do that?

I'm having problems with SystemD's resolved service on Ubuntu 18.10 - on my wireless network we have an IPv6 subnet that is tunneled through some weird network setup (work stuff) and can't be used for ...
0
votes
1answer
118 views

Can nslookup but not ping after OpenSuse Tumbleweed update

Following the 02/09 Tumbleweed update my DNS seems to be broken. My wifi icon in top right has a question mark, ping google.com returns Name or service not known, but nslookup google.com correctly ...
1
vote
4answers
798 views

How shall I understand the format of `/etc/resolv.conf`?

How shall I understand the format of /etc/resolv.conf? $ cat /etc/resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit. # # This is a dynamic resolv.conf file for connecting ...
0
votes
1answer
26 views

Is it possible to suppress upstream DNS records with dnsmasq

Using dnsmasq, I can set new values for existing records, and add new records, event to a zone I don't own. But is it possible to mask or suppress an existing record ? In my case I want a CNAME to be ...
9
votes
3answers
2k views

How do `/etc/hosts` and DNS work together to resolve hostnames to IP addresses?

In Linux, how do /etc/hosts and DNS work together to resolve hostnames to IP addresses? if a hostname can be resolved in /etc/hosts, does DNS apply after /etc/hosts to resolve the hostname or treat ...
0
votes
0answers
79 views

How to install Postfix in an all default way (no setup wizard) and to be used with no email DNS records?

The following question is a follow up to this question. In a latest Debian 9 stable I desire to install Postfix to send email from my machine to my very own Gmail account by the quickest install ...
1
vote
2answers
123 views

Understanding sendmail binary

I have a website with some PHP based CMS on which I'm the only user. This website has a simple contact form (name, email, phone and body) by which I get mail from non registered users. I'd like to ...
1
vote
1answer
30 views

Debian 8 - Lan connection works but no internet [Unknown host]

I have a Debian 8 server that has been running great for about a year. All of a sudden I am no longer getting internet access. The server is connected over an ethernet cable and I can SSH into over ...
3
votes
2answers
114 views

Compare domain blocking by iptables vs dnsmasq-/etc/hosts

I now use dnsmasq, with a large /etc/hosts file obtained from Energized packs [https://energized.pro/#packs]. Some of these are quite large. Trying to get info from the dnsmasq team, which is still ...
0
votes
1answer
79 views

resolv.conf always empty

I have 2 different embedded devices...an old one running TI arago Linux and a Xilinx device (petalinux). On both I see the same outcome when adding dns-nameservers to /etc/network/interfaces and ...
0
votes
2answers
104 views

BIND9 DNS zone file check reveals “ignoring out-of-zone data”

I am running a DNS and DCHP service on a local server (Raspberry on Stretch). When checking the zone files, I get: # [2019-02-03 10:32] maxg@rpiserver /etc/bind/zones $ named-checkzone rpiserver ...
1
vote
1answer
51 views

Have unexpected hostname and IP

I built a new rPi3 with Stretch on it; its name is rpi3ohv2. I set it up as 192.168.1.4 and later (Dec 28) changed it to .5 When I ping, dig and nslookup it, it comes up as .4 nslookup rpi3ohv2....
1
vote
2answers
560 views

How to deal with shared library problems in a non-working package

I installed bind-tools, the Arch linux alternative to dnsutils, but none of the tools work, all failing with the error: host: error while loading shared libraries: libidn2.so.4: cannot open shared ...
0
votes
0answers
32 views

resolv.conf dns-nameservers not working, but nameserver works

Hi all this is the content of my /etc/network/interface file on my uuntu 16.04 pc iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 gateway 192.168.0.1 dns-...