Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the dnsconf command of linux to set the DNS server configuration

Shulou Source: shulou.com Published: 2022-06-02 18:59:29 09月22日 Update

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.

Tags: Commands servers services hosts configuration parameters more articles references management good practical content graphics examples actual actually commonly used articles methods Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple OPPO Reno Shulou Information MySQL NVidia