setting My name server
when i search for "setting name server", "setting named server", or "setting dns", i get all kinds of help, on setting UP MY dns... i Have that working....
what i want to know is how i tell MY linux machine, where (which) name server to use (like that silly box, in winders, under ip address)... i "Think" its /etc/resolv.conf....But, im not so sure AND, if it is.... what should be in it.... also, is there a gui tool (though i like vi best... always... it Never messes up) Thanks....... |
Re: setting My name server
Quote:
Code:
search wolf Code:
nameserver 192.168.1.10 |
setting My name server
Thankyou so much for replying.. NOW... just one more question
could you explain that "search wolf" ? if im "len.myhouse.net" whould i enter: Search myhouse on the first line ??? and......... why ?? thanks again.... |
From:
http://publib16.boulder.ibm.com/doc_...esolv.conf.htm "A search entry defines the list of domains to search when resolving a name. Only one domain entry or search entry can be used. If the domain entry is used, the default search list is the default domain. A search entry should be used when a search list other than the default is required. The entry is of the form: search DomainName ... The search entry can have from one to six DomainName variables. The first DomainName variable is interpreted as the default domain name. The DomainName variable is the name of a domain that should be included in the search list." So you would enter "myhouse.net" in the search line (I'm assuming "len" is a host name). Hope this helps... |
ok.. One last simple question
(redhat 8) Is there ANY command to see what name servers one is using like: "showdns" 121.121.121.121 122.122.122.122 |
Not that I know of, but you can always write a simple shell script to get this information from /etc/resolv.conf or /etc/named.conf. It shouldn't take more than 5 lines of code.
|
setting my name server
cant seem to find "search" ??
|
All times are GMT -5. The time now is 04:46 PM. |