Question: Where is the dnsdomainname set?

Allen Kistler an037-0m26i at yahoo.com
Thu Oct 14 06:15:00 UTC 2004


TGS wrote:
> Okay, I am not shore how setting my name servers will set the DNS domain
> name for my machine. Are you sure you read the message correctly, or have I
> misstateed my question?
> 
> For instance, if I have a machine name machinex, and it is part og
> mynet.com. Making that machine machinex.mynet.com. Where is the mynet.com
> set?
> 
> 
> on 10/13/2004 11:59 PM, Jerone Young at jerone at gmail.com wrote:
> 
> 
>>The file to set it by hand is /etc/resolv.conf if you want to add
>>servers to that file it will look like:
>>
>>nameserver 151.164.20.201
>>nameserver 151.164.11.201
>>
>>
>>On Wed, 13 Oct 2004 22:52:02 -0400, TGS <spam at tachegroup.com> wrote:
>>
>>>This might be a noob question, especially for someone that has been using
>>>RedHat since version 5.3, but here goes.
>>>
>>>I cannot figure out where in a GUI the dnsdomainname is set. I thought that
>>>it get set via the /etc/sysconfig/network file, but on my system my hostname
>>>is returning (none). As I look at the file, it seems to be okay, with the
>>>domain name entry.
>>>
>>> [snip]

Right file, wrong option.

In /etc/resolv.conf put a line that reads (given your example)

domain mynet.com




More information about the test mailing list