[GRLUG] local dns
John-Thomas Richards
jtr at jrichards.org
Tue Feb 22 08:13:00 EST 2011
On Tue, Feb 22, 2011 at 08:02:37AM -0500, Topher wrote:
> On Tue, 22 Feb 2011, Ben Rousch wrote:
>
> >On Tue, Feb 22, 2011 at 7:49 AM, Topher <topher at codeventure.net> wrote:
> >>I know this is common, but I don't remember what it's called. I'm working
> >>on a web site, and I need my local machine to look at a different server for
> >>the domain name than the world dns thinks I should.
> >>
> >>Do I put something in resolve.conf so I can look at the dev server using the
> >>real domain name?
> >
> >I think you're looking for /etc/hosts
>
> Yeah, that sounds right. What would the syntax be?
From the...uh...ahem...manpage:
EXAMPLE
127.0.0.1 localhost
192.168.1.10 foo.mydomain.org foo
192.168.1.13 bar.mydomain.org bar
146.82.138.7 master.debian.org master
209.237.226.90 www.opensource.org
:-)
--
john-thomas
------
The least initial deviation from the truth is multiplied later a
thousandfold.
Aristotle, philosopher (384-322 B.C.)
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the grlug
mailing list