Home > OS >  Self-built how the DNS server will not be able to parse forward requests to the public?
Self-built how the DNS server will not be able to parse forward requests to the public?

Time:11-12

I put the root domain configuration like that
Zone ". "IN {
Type the master;
The file ". The DNS zone ";
};
Resolve to this
Mysql1 IN A 192.168.131.130
Mysql2 IN A 192.168.131.138
This configuration can ping mysql1 and mysql2, but can't parse www.baidu.com
Now I hope that the DNS server can resolve the root of the custom domain mysql1 and mysql2, can also parse public domain name, how to solve this

CodePudding user response:

Add the upstream DNS server, when local resolution less than will go to the upstream server
In the named. Under the conf options add:
Forwarders {223.5.5.5; 223.6.6.6; };

CodePudding user response:

reference 1st floor zhouchao6 response:
add upstream DNS server, when local resolution is less than, can go to the upstream server
In the named. Under the conf options add:
Forwarders {223.5.5.5; 223.6.6.6; };

Not with great effect

CodePudding user response:

The client to add local DNS and public domain name server

CodePudding user response:

reference cqyy725 reply: 3/f
client add local DNS and public domain name server:

Centos7entos7 server configuration only a DNS server to take effect

CodePudding user response:

reference 4 floor wwys response:
Quote: reference cqyy725 reply: 3/f

The client to add local DNS and public domain name server.

Centos7entos7 server configuration take effect only a DNS server


Are you really in beating their gums

CodePudding user response:

You just nonsense, I tested, have you ever tried?

CodePudding user response:

refer to 6th floor wwys response:
you just nonsense, I tested myself, have you ever tried?


You this kind of sand or self-destruction

CodePudding user response:

Have you ever tried? What qualification said didn't try others?

CodePudding user response:

And forward the line I also tried, no effect
  • Related