Use the dnsconf command of linux to set the DNS server configuration
This article will explain in detail how to use linux's dnsconf command to set up DNS server configuration. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
The dnsconf command is actually a symbolic connection to linuxconf, providing a graphical mode of operation for administrators to manage the DNS server.
Syntax format: dnsconf [parameters] [domain]
Common parameters:
-- deldomain delete domain-- delsecondary delete secondary domain-- newdomain newly added domain-- set new host record-- setcname setting NAME--unset to delete the record of a host in DNS
Reference example:
Delete domain:
[root@linuxcool] # dnsconf-- deldomain www.linuxcool.com
Add new host record:
[root@linuxcool ~] # dnsconf-- set www.linuxcool.com 1.1.1.1 this is the end of setting DNS server configuration using linux's dnsconf command. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.