how to route FQDN to an alt ip?

Fred Roller froller at tnclimited.com
Thu Aug 13 11:49:07 UTC 2009


On Wed, 2009-08-12 at 23:59 -0700, Evuraan wrote:
> > Can you not just put:
> > blah.example.com E.F.G.H
> > in /etc/hosts?
> >
> 
> But  I still wonder how to do this from the ip route realm of things,
> rather than a forced lookup from within dnsmasq.

I can't speak on dnsmasq, but /etc/hosts, as Chris mentioned, is where
you need to put the association.  /etc/hosts is Linux's first check in
resolving names and unless you have a particular need, i.e. more than
one machine needs the information, then why add extra software?
-- 
Fred R.
www.fwrgallery.com

"Life is like Linux - simple; if you are fighting it, you are doing
something wrong."






More information about the ubuntu-users mailing list