This is an old revision of the document!


Table of Contents

Home tmade.de

Home Wiki

Hostname, DNS

Hostname

/etc/hosts                                   #Configuration of lokal DNS-resolving
/etc/HOSTNAME                                #Configuration of System Hostname

DNS

Following files are the local DNS-config files:

/etc/resolv.conf                             #Configuration of DNS-Servers
/etc/nsswitch.conf                           #Configuration how a service or a command is getting DNS-Adress (via /etc/hosts or /etc/resolv.conf)
/etc/hosts                                   #Configuration hosts file (local DNS resolution)

DNS Service on Linux:

nscd                         

Example resolv.conf

#DNS-SUFFIX for DNS resolving 
search site.example.com site.example.de       

#List of nameservers to add
nameserver 1.2.3.4
nameserver 2.3.4.5

DNS-Server

linux/host_dns.1375446698.txt.gz · Last modified: 2017/12/09 01:10 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki