Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 61

Thread: DNS Tutorial

  1. #11
    Join Date
    Aug 2002
    Posts
    3,959
    Rep Power
    25

    Default

    Not sure...

    Go to the command line and type:

    rpm -qa | grep bind

    This will run a list of all the installed rpms (rpm -qa) and it will show the results for any file that has bind in its name (grep bind). The pipe (|) allows you to join to separate commands.

    If bind is installed you should see a number of files including one similar to:

    bind-9.2.4-2

    If bind is not installed you can install it. Just search the cd's until you locate the rpm. If you are using the GUI, double click on the file and the installation should start.

    If you are using the command line, type:

    rpm -Uvh /path/to/the/file

  2. #12
    Join Date
    Sep 2005
    Posts
    2,394
    Rep Power
    0

    Default

    [administrator@fedora-box ~]$ rpm -qa | grep bind
    bind-libs-9.3.2-4.1
    bind-chroot-9.3.2-4.1
    bind-utils-9.3.2-4.1
    bind-9.3.2-4.1
    ypbind-1.19-0

    yes it is installed.
    To find what you seek in the road of life, the best proverb of all is that which says: "Leave no stone unturned." Edward Bulwer Lytton

  3. #13
    Join Date
    Sep 2005
    Posts
    2,394
    Rep Power
    0

    Default

    i just realized what was the problem why i wasn't able to get to the file. i think it was because the account that i was using wasn't the root account. i logged in as root and now i have access to the file. so i'll try editing the file later when i get home.
    To find what you seek in the road of life, the best proverb of all is that which says: "Leave no stone unturned." Edward Bulwer Lytton

  4. #14
    Join Date
    Aug 2002
    Posts
    3,959
    Rep Power
    25

    Default

    Cool.

    Just remeber that DNS is easy to set up.

    You configure the basic settings in the /etc/named.conf

    You create a forward lookup zone file mapping the hostnames to addresses

    You create a reverse lookup zone file mapping the addresses to hostnames

    You create the loopback file

    You copy across the named.ca with the list of root servers

    You start the service

  5. #15
    Join Date
    Aug 2002
    Posts
    3,959
    Rep Power
    25

    Default

    Here is an interesting article re: DNS.

    A report issued Thursday by Nominum, a company that sells domain name system (DNS) server software, indicated that some broadband service providers need to bulk up their DNS servers to ensure that broadband users actually get all the benefits of their high-speed connections.
    http://news.com.com/DNS+could+slow+b...l?tag=nefd.top

  6. #16
    Join Date
    Sep 2005
    Posts
    2,394
    Rep Power
    0

    Default

    sorry for the delay i'm still having problems with my spare machine. i friend introduced me to vmware virtual workstation so i will be installing fedora on that before the weekends.
    To find what you seek in the road of life, the best proverb of all is that which says: "Leave no stone unturned." Edward Bulwer Lytton

  7. #17
    Join Date
    Sep 2005
    Posts
    2,394
    Rep Power
    0

    Default

    i installed vmware and then fedora but i guess because i have only 256mb ram its only loading in command mode. it is actually using 128mb to load. i know how to browse to the named.conf file but how do i open it to edit it?
    To find what you seek in the road of life, the best proverb of all is that which says: "Leave no stone unturned." Edward Bulwer Lytton

  8. #18
    Join Date
    Aug 2002
    Posts
    3,959
    Rep Power
    25

    Default

    Vi is a text editor that you can use from the command line.

    Here is a tutorial.

    http://www.eng.hawaii.edu/Tutor/vi.html

    To open a file:

    vi /etc/named.conf


    To quit and save changes

    Escape key
    :
    wq


    To quit without saving changes

    Escape key
    :
    q!


    To quit if no changes have been made

    Escape key
    :
    q
    Last edited by jamrock; Sep 12, 2006 at 07:47 AM.

  9. #19
    Join Date
    Sep 2005
    Posts
    2,394
    Rep Power
    0

    Default

    db.mycorp.com
    db.192.168.1
    db.127.0.0
    are these files to be created from the default files that are present in the current setup?
    does the db. have an special significance?
    To find what you seek in the road of life, the best proverb of all is that which says: "Leave no stone unturned." Edward Bulwer Lytton

  10. #20
    Join Date
    Aug 2002
    Posts
    3,959
    Rep Power
    25

    Default

    I would suggest that you just use your text editor to create the zone files. I have never used the default files.

    You can name them anything you want. The documentation I read used that format but it really doesn't matter.

    Just make sure that your /etc/named.conf points to them.

Posting Permissions

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