Results 1 to 9 of 9
The DNS server configuration for CentOS and RHEL5
and the entries for the clients in its configuration files......
- 09-14-2010 #1Just Joined!
- Join Date
- Sep 2010
- Location
- india
- Posts
- 6
Dns server
The DNS server configuration for CentOS and RHEL5
and the entries for the clients in its configuration files...
- 09-14-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
And your question is? FWIW, your DNS configuration is in /etc/resolv.conf
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-15-2010 #3Just Joined!
- Join Date
- Sep 2010
- Location
- india
- Posts
- 6
--
no, Basically the advanced configuration
like my server ip is 172.24.0.254
and
clients are of the series 172.24.0.x
so i want the detailed entries in the configuration files.
- 09-15-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
The only dns-related configuration file I am aware of is /etc/dnsmasq.conf for the dnsmasq server. Will work with /etc/hosts if you want, so local host names+addresses+aliases can be listed there, and DNS enquiries for local addresses will be resolved from that.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-18-2010 #5
Client DNS setting are in /etc/resolv.conf. Server setting are in either /var/named/chroot/etc (chroot system), or /etc (non-chrooted system)
These are the standards, you could place them where ever you'd like but make sure that named.cond is updated to show this.
- 09-18-2010 #6Just Joined!
- Join Date
- Sep 2010
- Location
- Bangalore, India
- Posts
- 2
assuming u have little knowledge of dns server, as it seems u have installed it.
well to configure dns server,
the package name is cachinzones-name server,
so to start with tyoe yum install caching-name server
then there will be 2 conf files created automatically,
/etc/named/named.caching.nameserver.conf &
/etc/named.rfc1912.zones
now make a file /etc/named.conf and copy above 2 files in here...
u can use cat syntax.
now you change the conf file.
basically to start up change only the forward and reverse script..and rest u can delet..
for forward give zone as ur ip add or server name
for reverse give ur ip as (0.168.192..its e.g.)
now u need to conf database files...
/var/named/localhost.zone for forward
/var/named.local for reverse...
after that u can run
named-checkzone- <domain name> to check
and u also do chkconfig named on
and service named restart/start
for client end u need to modify /etc/resolv.conf
gine nameserver <serverip>, rest delete all, to startwith
now by cmds like :
host <servername> or <ipaddress>
nslookup "
dig "
u can run ur dns server...
- 09-20-2010 #7Just Joined!
- Join Date
- Sep 2010
- Location
- india
- Posts
- 6
rep:
i have already configured the server
i just want the mail MX entries in the dns..
- 09-22-2010 #8
You need to then setup your MX records. Something like this;
What ever you do do not forget the dot at the end.Code:mydomain.org. IN MX 10 mail.mydomain.org. or IN MX 10 mail.mydomain.org.
- 09-24-2010 #9Just Joined!
- Join Date
- Sep 2010
- Location
- india
- Posts
- 6
yeah something like this
now it will create a mail box on the server
and i can mail any one using squirrel mail or simple mail.???


Reply With Quote