I realize the question was worded poorly. Is it possible to have named
look at the host file first and use your idea of an alias for the bad
hostname?
If not the host file on all computers may work. I may be able to script
this. I will not be publishing these bad hostnames to the public network
just internal. So any way which will have named give the correct response
is acceptable in this case.
david
On Wed, 11 Apr 2001, Vidiot wrote:
> david posted:
>
> >Does anybody know of a way to allow DNS names with "_" in them? I have a
> >number of servers with an underscore in them. It is going to take a lot
> >of work to make the change by a large number people.
>
> Check RFC-1034 and RFC-1035 for details, but I believe it is illegal to
> have underscores in a hostname. BTW, it is hostname, not DNS names.
> This means you have to change all of your hostnames to legal names
> if you want named to work.
>
> But, you can do the following to each machine:
>
> /etc/hosts:
>
> 123.456.789.012 bad_hostname bad-hostname
>
> By adding an alias to the hosts file, you can now have the named entries
> point to the good bad-hostname. It still means editing all of the hosts
> files on all of the machines. Without doing doing that, you will not be able
> DNS any of the machines. By adding the alias, anything that you have that
> references the bad name will still work. BUT, if you rely upon named to
> resolve it for you... nope, ain't gonna happen.
>
> The above information is my understanding of the situation.
>
> MB
> --
> e-mail: [EMAIL PROTECTED]
> Bart: Hey, why is it destroying other toys? Lisa: They must have
> programmed it to eliminate the competition. Bart: You mean like
> Microsoft? Lisa: Exactly. [The Simpsons - 12/18/99]
> Visit - URL:http://www.vidiot.com/ (Your link to Star Trek and UPN)
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list