04-27-2008
hi gnom,
thanks for prompt reply. if i do testing, can resolv.conf looks like this: ?
search olddnsname.com
nameserver 172.x.x.x
search newdnsname.com
nameserver 172.x.x.x
rgds
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I change domain name from shell?
I know how to change hostname but not domain.
Please help me.
Thank you, (3 Replies)
Discussion started by: lucas
3 Replies
2. IP Networking
How do I change domain name from shell?
And
How do I check the domain name from shell?
I know how to change hostname but not domain.
Please help me.
Thank you, (2 Replies)
Discussion started by: lucas
2 Replies
3. IP Networking
Hello,
I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address.
What I'd like is to... (4 Replies)
Discussion started by: martincastell
4 Replies
4. Linux
Hi everybody,
for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings:
Voici mes fichiers de configuration:
-... (2 Replies)
Discussion started by: beloge2002
2 Replies
5. UNIX for Advanced & Expert Users
Good morning every body
When I add a new user the domain is my hostname
I want to change it to my local domain
EXample
my computer hostname is X when I create a new user Y and he logged I see X@Y and me I want to have Y@localdomain
Think (1 Reply)
Discussion started by: gone
1 Replies
6. Shell Programming and Scripting
Hello to all,
May you help saying me how to flush a specific domain in Linux SunOS5
I know the command rndc is to flush DNS cache, but I would like to know:
1- How to do a flush only on specific domain
2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG... (2 Replies)
Discussion started by: Ophiuchus
2 Replies
7. Linux
I have read many tutorials on bind and i understand the A,MX, CNAME records.
Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine.
On the Internet, when we have purchased a valid domain like... (5 Replies)
Discussion started by: coolatt
5 Replies
8. UNIX for Advanced & Expert Users
Hello,
Our organization is planning to move one domain from Dreamhost to Hubspot. Lets say, it is gem.xyxyxyxyx.com. Please note, website is not being migrated from one server to another, it is just hosting company.
Here is from our internal DNS master server -
# cat... (6 Replies)
Discussion started by: solaris_1977
6 Replies
9. UNIX for Beginners Questions & Answers
In my /etc/resolv.conf file there is domain name defined. But when I do nslookup the domain name is not appended. Why? (18 Replies)
Discussion started by: broy32000
18 Replies
RESOLVER(5) File Formats Manual RESOLVER(5)
NAME
resolver - resolver configuration file
SYNOPSIS
/etc/resolv.conf
DESCRIPTION
The resolver configuration file contains information that is read by the resolver routines the first time they are invoked by a process.
The file is designed to be human readable and contains a list of name-value pairs that provide various types of resolver information.
On a normally configured system this file should not be necessary. The only name server to be queried will be on the local machine and the
domain name is retrieved from the system.
The different configuration options are:
nameserver
followed by the Internet address (in dot notation) of a name server that the resolver should query. At least one name server should
be listed. Up to MAXNS (currently 3) name servers may be listed, in that case the resolver library queries tries them in the order
listed. If no nameserver entries are present, the default is to use the name server on the local machine. (The algorithm used is
to try a name server, and if the query times out, try the next, until out of name servers, then repeat trying all the name servers
until a maximum number of retries are made).
domain followed by a domain name, that is the default domain to append to names that do not have a dot in them. If no domain entries are
present, the domain returned by gethostname(2) is used (everything after the first `.'). Finally, if the host name does not contain
a domain part, the root domain is assumed.
The name value pair must appear on a single line, and the keyword (e.g. nameserver) must start the line. The value follows the keyword,
separated by white space.
FILES
/etc/resolv.conf
SEE ALSO
gethostbyname(3N), resolver(3), named(8)
Name Server Operations Guide for BIND
4th Berkeley Distribution September 14, 1987 RESOLVER(5)