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; };