Can I include another DNS when I create a private DNS?

Asked 2 years ago, Updated 2 years ago, 102 views

For example, if you created a private x.x.x.x DNS,

When you write this x.x.x, you want to include Google's 8.8.8.8 DNS for use as well.

There's also the issue of limiting the number of dns.

What's wrong with adding nameserver by modifying /etc/resov.conf to the instance created by AWS

When I checked with nslookup, The >server command shows that several dns are registered well, but if you can't find them in the first order, you have to find the second nameserver, but I think you're just looking for the first one.

So there are times when I find the address of the internal network according to the order of the nameserver, and sometimes I can't.

To summarize the questions

I have many other questions, but I would appreciate it if you could tell me about these two in a hurry.

dns nslookup

2022-09-21 17:19

1 Answers

If you have configured a DNS server, you can configure the forwards.

If the forward is queried for a record that is not on the server that you configured, it queries the server defined in the forward instead of the client and informs the client of the results.

If you use bind on Linux

options {
   ...
   forwarders { x.x.x.x; y.y.y.y; }
   ...
}

You can add it to the BIND setting as above.


2022-09-21 17:19

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.