Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created December 22, 2014 01:06
Show Gist options
  • Save scottslowe/65f7e80db9da414cba80 to your computer and use it in GitHub Desktop.
Save scottslowe/65f7e80db9da414cba80 to your computer and use it in GitHub Desktop.
This /etc/hosts file, taken from SLED 10, is configured to assist with integration into Active Directory.
###############
# /etc/hosts
###############
# This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
10.10.10.1 WINDOWS-DC-HOSTNAME.DOMAIN.COM WINDOWS-DC-HOSTNAME
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 client-hostname.DOMAIN.COM client-hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment