Find the answer to your Linux question:
Results 1 to 4 of 4
Hi Guys, First let me say sorry this might be a bit long. Ok here we go: I have started my own IT company Nerd4Hire (In Australia) and I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    n4h
    n4h is offline
    Just Joined!
    Join Date
    Jun 2009
    Posts
    2

    Red face Setting up a server for my New Company


    Hi Guys,

    First let me say sorry this might be a bit long.

    Ok here we go:

    I have started my own IT company Nerd4Hire (In Australia) and I have decided to go create my environment 90% Linux (I have a XP machine to manage my vmware server and for doing my tax etc). To save some money and learn more about Linux.

    I come from a Windows world where I could get servers up and running in no time but come to Linux servers I have limited knowledge.

    Call this over kill but I would like to setup a DNS, DHCP, LDAP, webserver (to host a small intranet) and a email server in CentOs (Would the kind people suggest I go something like clarkconnect or ebox)

    I have been pulling my hair out trying to setup an internal DNS server using BIND and webmin. I followed these steps fond in the attachment and added my ISP's DNS server as the forwarder. Now when I ping my CentOS server from my Ubuntu machine it pings this address: acmkoikkqo.gs02.gridserver.com (64.13.237.32). Is there something I'm doing wrong?

    Also for a 389 Directory server (LDAP) is it a requirement for DNS to before setup before hand?

    Again sorry about the long post. Trust me there will be more
    Attached Files Attached Files

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    First off I do not use any tools to setup Bind. Everything is done by hand.

    Since you are using CentOS your Bind should be setup in a chroot env. which should be located in /var/named/chroot/. Everything Bind does will be done from this direcory unless you installd Bind is some other way other then using the setup or Yum.

    Lets check some thing first as root
    Go to the following dir
    /var/named/chroot/etc

    See if the following files are there:


    1. named.conf
    2. rndc.conf
    3. key.conf

    If they are there then lets check that Bind is running

    'service named status'

    If you do not get that the service is running and a PID number then you need to start the service as follows:

    'service named start'

    You should see that it started. If not what error codes is it

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    n4h
    n4h is offline
    Just Joined!
    Join Date
    Jun 2009
    Posts
    2
    Hi Robert,

    Thanks for the response.

    Here is the list of files in /var/named/chroot/etc:
    localtime
    named.conf (I have attached the file)
    rndc.key
    named.caching-nameserver.conf
    named.rfc1912.zones

    And here is the output for service named status:
    number of zones: 0
    debug level: 0
    xfers running: 0
    xfers deferred: 0
    soa queries in progress: 0
    query logging is OFF
    recursive clients: 0/1000
    tcp clients: 0/100
    server is up and running
    named (pid 7461) is running...

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Quote Originally Posted by n4h View Post
    And here is the output for service named status:
    number of zones: 0
    debug level: 0
    xfers running: 0
    xfers deferred: 0
    soa queries in progress: 0
    query logging is OFF
    recursive clients: 0/1000
    tcp clients: 0/100
    server is up and running
    named (pid 7461) is running...
    'number of zones: 0' tell me that you do not have your zone files in the proper place. What does your named.conf look like? In there is should tell you where to place the zone files so they will be found.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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