1, the concept of universal Domain name resolution:
If the user login mageedu.com, input error, input ww.mageedu.com, mageedu.com NS Server is unable to judge ww this domain name. So in order to prevent this error. The configuration of the NS server for a small web site can be defined in an item *.mageedu.com. To boot the user who entered the error can also access the site. But some of the big Web sites are a bit inappropriate, and they usually use the user to get into a wrong page to guide the user. or let the user re-enter.
2, their own DNS server should not be for their own areas outside the arbitrary recursion
① How to edit options that define recursion
Vim/etc/named.conf
Add recursion yes here; To allow everyone to recursion
or add allow-recusion {172.16.0.0/16}; Indicates that the user is allowed to recursion only under this network segment
We're going to move on like this.
Note: Dig +[no]recursion representative uses recursive query or not
Dig +trace representative resolution process
Before modifying, we can use these options to test whether we can recursively return URLs such as Baidu.