Setting up DNS Server on RedHat

Discussion in 'Linux - General discussion' started by imtek, Apr 3, 2008.

Thread Status:
Not open for further replies.
  1. imtek

    imtek Member

    Joined:
    Jan 24, 2008
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    11
    Doing my final year project on DNS Server using RedHat 9.

    Can anyone explain 2 me wot that mean when I have to modify the named.conf file

    zone "somefakedomain.com" IN {
    type master;
    file "somefakedomain.com.zone";
    allow-update { none; };

    What is that somefakedomain.com

    Thx
    Imtek
     
  2. OzMick

    OzMick Guest

    I doubt anyone here will help you much. The whole point of Uni is to prove you can think for yourself, and the IT industry doesn't need more graduates that can't. Good luck, I think you're going to need a lot of it.
     
  3. varnull

    varnull Guest

    It's exactly what it says it is... some_fake_domain.com... make something up, but ensure it doesn't exist.

    My friends 7 year old looked up from his psp and just explained that to me :lol:
     
  4. kaadi

    kaadi Member

    Joined:
    Oct 23, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    11
    'somefakedomain.com' is the name of your domain ...you can use any name ....whatever you want........i guess this might help you....
     
  5. imtek

    imtek Member

    Joined:
    Jan 24, 2008
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    11
    Ah ok..so i should also put an IP address..from what does that IP come from..Is it the IP on whick I am setting the DNS or the IP of the domain?

    Here is the syntax in the zone file..

    $TTL 86400
    $ORIGIN somefakedomain.com.
    @ IN SOA ns1.somefakedomain.com. admin.somefakedomain.com. (
    2004042601 ; serial
    21600 ; refresh
    3600 ; retry
    604800 ; expires
    86400 ) ; minimum

    IN NS ns1.somefakedomain.com.

    IN MX 10 mail.somefakedomain.com.

    IN A 192.168.1.200

    ns1 IN A 192.168.1.200
    www IN A 192.168.1.200
    ftp IN A 192.168.1.200
    mail IN A 192.168.1.200
     
  6. kaadi

    kaadi Member

    Joined:
    Oct 23, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    11
    if you want to create your own DNS server then use the IP address of your machine only.
    one more thing , what about the reverse and forward lookup file and your named.conf file. Are you done with the configuration of these files also.
     
  7. varnull

    varnull Guest

    Since when did we drop back into the habit doing peoples college assignments for them?
     
  8. OzMick

    OzMick Guest

    Don't look at me, I was tempted to write a page or two full of nonsense just to waste time but my conscience got the better of me again.
     
  9. ddp

    ddp Moderator Staff Member

    Joined:
    Oct 15, 2004
    Messages:
    39,167
    Likes Received:
    136
    Trophy Points:
    143
    closed due to laziness.
     
Thread Status:
Not open for further replies.

Share This Page