«

»

Apr 23

DNS and name services on Centos 7/RedHat 7

Here are some useful information about DNS and name services on Centos 7/RedHat 7.

DNS related files and directories:

Local DNS resolution static mappings:
/etc/hosts-local

Local host’s assigned name:
/etc/hostname

DNS configuration file:
/etc/resolv.conf

Commands:

hostname

host

geteng hosts

hostnamectl

Follow me!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>