Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!agate!theos.com!riscan.riscan.com!van.istar!news-w.ans.net!newsfeeds.ans.net!chi-news.cic.net!newsxfer2.itd.umich.edu!tank.news.pipex.net!pipex!lade.news.pipex.net!pipex!nh.acorn.co.uk!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awf ulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: multiple names Date: 6 Jun 1996 00:38:22 +0100 Organization: Coverform Ltd. Lines: 30 Message-ID: <4p55pe$nu@anorak.coverform.lan> References: <4p4clr$5lo@stratus.skypoint.net> NNTP-Posting-Host: anorak.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Patrick Sonnek (psonnek@skypoint.com) wrote: : How would I configure me DNS (or hosts file) to point several different : names all to the same location. : I am running named. My IP address is 206.9.159.17 the names are : parker.artbbs.com artbbs.com www.artbbs.com ftp.artbbs.com All of : these need to resolve to the same IP address. and I'm a little confused : on how to do this. /etc/hosts: 206.9.159.17 parker.artbbs.com artbbs.com www.artbbs.com ftp.artbbs.com /etc/namedb/artbbs.com.zone: $ORIGIN artbbs.com. parker IN A 206.9.159.17 ftp IN A 206.9.159.17 www IN A 206.9.159.17 artbbs.com. IN A 206.9.159.17 /etc/namedb/artbbs.com.rev: 206.9.159.17. IN PTR parker.artbbs.com. I've assumed that you're "official" name is parker.artbbs.com. Instead of this approach, you probably should consider creating a few aliases for the interface - unless you have to pay for additional IPs. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....