Find the answer to your Linux question:
Results 1 to 9 of 9
The DNS server configuration for CentOS and RHEL5 and the entries for the clients in its configuration files......
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Location
    india
    Posts
    6

    Exclamation Dns server

    The DNS server configuration for CentOS and RHEL5
    and the entries for the clients in its configuration files...

  2. #2
    Linux Guru Rubberman's Avatar
    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!

  3. #3
    Just 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.

  4. #4
    Linux Guru Rubberman's Avatar
    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!

  5. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    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.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #6
    Just 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...

  7. #7
    Just Joined!
    Join Date
    Sep 2010
    Location
    india
    Posts
    6

    Question rep:

    i have already configured the server
    i just want the mail MX entries in the dns..

  8. #8
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    You need to then setup your MX records. Something like this;
    Code:
    mydomain.org.   IN MX 10 mail.mydomain.org. 
    
    or
    
                   IN MX 10 mail.mydomain.org.
    What ever you do do not forget the dot at the end.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  9. #9
    Just 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.???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...