On 28/04/09 11:36 AM, James Carlson wrote:
James Carlson writes:
This saves me from a lot of grief if I ever have to renumber the box.
In most cases, all I have to change is the /etc/hosts entry, and I'm
good to go.  (Yes, some parts like /etc/resolv.conf are unusually
annoying about such things.)

Another possibility would be to be able to say something like this in
/etc/hosts:

@bge0   myhost

... and have the 'files' backend pull the IPv4 and IPv6 addresses from
the named interface.  That'd also do away with my repeating-magic-
numbers concern.

So I was going to comment about the format of /etc/hosts
and how various things use it to get information and that
this would break that...

Are you concerned about this?

Or are you of the opinion that thinking like that is
just holding us back from making meaningful progress?

Where this is most significant is with shell programs
that are trying to resolve/verify hostnames/addresses
but maybe host makes that a non-issue?

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to