[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
On 03-Apr-2002 at 09:35:17 jody salt wrote:
Does any one know how to set up a dns server on ethernet network using redhat 7.2 I run an apache server and at the moment I have to give the IP address i.e. http://1.1.1.1/ but http://linuxmachine/ would be much better!!
If its just the one machine, then putting it into /etc/hosts would be easier :-) That is, just edit /etc/hosts and put at the bottom: 1.1.1.1 linuxmachine Check that /etc/nsswitch.conf has something in it like: hosts: files dns (the 'dns' bit may be absent; you need the 'files' bit) John. ------------------------------------------------------------------------ John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914 E-mail: jhorne@xxxxxxxxxxxxxx PGP key available from public key servers -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.