92 votes
Accepted

How to manage DNS in NetworkManager via console (nmcli)?

Here is the command to modify an existing connection. nmcli con mod "$connectionName" ipv4.dns "8.8.8.8 8.8.4.4" connectionName can be found by command: nmcli con. In the question ...
lauc.exon.nod's user avatar
36 votes

DNS A vs NS record

This is an old question, but I think the other answers aren't really touching on the source of the confusion. NS records at the apex follow a different set of rules than NS records beneath the apex. ...
Andrew B's user avatar
  • 33k
16 votes

BIND permission errors

This looks to me like an AppArmor problem. Try setting it to permissive temporarily and see if the problem goes away. By default, the Bind/Named daemon does not have permission to write to the zone ...
Andy Foster's user avatar
16 votes
Accepted

How to I make a domain resolve to different IP's when resolved from internal network and external network?

In BIND 9, you can define multiple "views": in effect, BIND shows one version of a DNS zone to specified clients and another version to others. This seems to be exactly what you'll need. Here is a ...
telcoM's user avatar
  • 4,568
14 votes
Accepted

DNS servfail at some of Nameservers

A SERVFAIL answer tells you there's an issue reaching the DNS server for your domain, or that it isn't set up properly. It looks like you're only replying to A queries from your DNS server, which ...
André Fernandes's user avatar
12 votes

How to manage DNS in NetworkManager via console (nmcli)?

there is good TUI tool developed by red hat named nmtui that you really should try. it is pre-installed on various distros, nowadays, but if it is not on yours, try: sudo yum install networkmanager-...
infinite-etcetera's user avatar
12 votes
Accepted

AWS Route 53 CNAME - dot at end of target value or not?

From the Route 53 documentation on record values: CNAME — Canonical name The fully qualified domain name (for example, www.example.com) that you want Amazon Route 53 to return in response to ...
Håkan Lindqvist's user avatar
11 votes

Domain will not propagate (Over 96+ Hours)

I'm basically parroting Michael here, but this is too much to paste into a comment: ;sai.ngo. IN A ngo. 172800 IN NS b0.nic.ngo. ngo. ...
Andrew B's user avatar
  • 33k
11 votes
Accepted

CDN: How is it possible that my DNS delivers a different IP depending on the visitors location?

Ok it seems I can now give a rough answer to my own question. Anurag Bhatia says that there exist two methods how a CDN works: DNS Have DNS to do the magic i.e when users from network ISP A lookup ...
mgutt's user avatar
  • 523
8 votes

How to manage DNS in NetworkManager via console (nmcli)?

In addition to setting the ipv4.dns property described above... To exclude the DHCP provided DNS servers...set the ipv4.ignore-auto-dns property to yes. nmcli con mod <connectionName> ipv4....
Brien's user avatar
  • 81
7 votes

setting up bind to work with nsupdate (SERVFAIL)

I was having very similar issues until I changed the location of where I stored my zone files. Bind had permission to write to /var/cache/bind, but your zone files are stored in /etc/bind/.... Bind ...
itsJunc's user avatar
  • 71
7 votes
Accepted

Domain is reporting incorrect Name Server information

Focusing on the actual problem with your domains: Following the chain of delegations for lamardesigngroup.com you'll see a delegation to ns1.lamardesigngroup.com and ns2.lamardesigngroup.com with ...
Håkan Lindqvist's user avatar
7 votes
Accepted

Why am I seeing IPv6 resolve errors despite having disabled IPv6 in bind?

If the system is using systemd then editing /etc/default/bind9 will have no effect. Edit /lib/systemd/system/bind9.service file instead and add -4 option to ExecStart variable. I'm using Ubuntu 16 ...
Nicolae Namolovan's user avatar
7 votes
Accepted

Order of DNS A records and wilcard subdomains

Wildcards do not apply to the root record of the domain, so (1) will be the only A record for example.com The key point about wildcards is that they only apply for otherwise non-existent subdomains, ...
Stuggi's user avatar
  • 3,566
7 votes
Accepted

Does a single Root Name Server and a TLD Name Server have only one Zone file?

There are several things to address here: Zones vs files It's probably more relevant to talk about how many zones they have, rather than how many files they have. It will depend on the nameserver ...
Håkan Lindqvist's user avatar
6 votes

Configure a DNS server per nic interface (eth0 / eth1)?

The answer to all your three questions is now systemd-resolved (emphasis mine): Lookup requests are routed to the available DNS servers and LLMNR interfaces according to the following rules: ...
Piotr Dobrogost's user avatar
6 votes

Setting different NS records as authoritative on authoritative DNS

There are really two questions being asked here, and they directly contradict each other: how do I instruct DNS servers to continue their query on to Amazon as its authoritative for the domain, ...
Andrew B's user avatar
  • 33k
6 votes
Accepted

hetzner default nameservers not always resolving

I don't understand why you are still trying to use the Hetzner DNS servers if they are demonstrably not working correctly. Just update your /etc/resolv.conf appropriately and get on with your life. ...
user9517's user avatar
  • 116k
6 votes

My web hosting provider is providing 4 nameservers, which do I use to to point my domain?

All of them.​​​​​​​​​​​​​​​​​​​​
Wesley's user avatar
  • 32.8k
6 votes

Understanding NS Record and Authorative Server Better

There are actually three entities involved in the scenario in the question (at least conceptually): Registrar ("A" in question) DNS hosting provider Web hosting provider ("B" in ...
Håkan Lindqvist's user avatar
5 votes

Vanity nameserver problems

You missed this bit from the guide For example: (Do not forget the trailing dots) If you do a DNS query for ns1.buzztera.gr no results are returned however if you do a query for ns1.buzztera.gr....
Drifter104's user avatar
  • 3,813
5 votes

Does it matter if the DNS server of a domain is on a different TLD?

It is not a problem per se, you should just make sure not to create loops: if domain1.example has ns1.domain2.example and ns2.domain2.example, having at the same time for domain2.example nameservers ...
Patrick Mevzek's user avatar
5 votes

Can you lookup a domains past nameserver & mx record history?

Here is another one https://completedns.com/dns-history/ It does support a lot of domain TLDs - list of supported TLDs. With the free account you can make up to 100 queries for nameserver history.
MarkOne's user avatar
  • 61
5 votes
Accepted

Do ns1 & ns2 nameservers need a PTR record?

Strictly speaking, there is no requirement for nameservers to have PTR records. It's still a very good idea in order to make sure that these devices are well identified, but no functionality breaks if ...
Andrew B's user avatar
  • 33k
5 votes

How to manage DNS in NetworkManager via console (nmcli)?

Just in case I have done a little script to do that automatically (here with google DNS) for every ethernet/wireless connections: nmcli -g name,type connection show --active | awk -F: '/ethernet|...
Yannig Perre's user avatar
5 votes
Accepted

How to associate DNS requests with the requests to web server hosting that domain name?

You can not correlate on the IP address. It is because your authoritative nameserver is queried by recursive nameservers, not by end clients directly. So you will get the IP address of the last ...
Patrick Mevzek's user avatar
5 votes

My web hosting provider is providing 4 nameservers, which do I use to to point my domain?

Best is to configure all of them if possible. But if not, you can select any two. All of them should serve exactly same information. You just have multiple servers for redundancy. Quite common ...
Kimmo Ahokas's user avatar
5 votes
Accepted

Why are many DNS servers not returning the namservers for my domain correctly?

I had a quick look and the main problem with your zone seems to be that the delegation from the parent zone (photo) indicates that markfisher.photo is supposed to be signed (DS record present). ...
Håkan Lindqvist's user avatar
5 votes
Accepted

DNS is not propagating correctly

The glue records for the nameservers in use do not match the authoritative records. If we look at the tail end of dig +trace +all output, this is clearly visible: $ dig +trace +all bazar9.pk NS ; &...
Håkan Lindqvist's user avatar
5 votes

How can I configure my DNS settings on Debian 12?

Warning (this is chatgpt obviously) To add a custom DNS (Domain Name System) nameserver using systemd-resolved on a Linux system that uses systemd as its init system (such as many modern distributions ...
Ace's user avatar
  • 726

Only top scored, non community-wiki answers of a minimum length are eligible