Results 1 to 4 of 4

Thread: i HATE dns... please help if u know this stuff

  1. #1

    i HATE dns... please help if u know this stuff

    i've been trying to get dns going for over 3 weeks now... still nothing... i even jacked my friends copy of oreilly's dns book but i must be braindead b/c it still wont work.
    i want the domain to point to my ip, and run apache, ftp, whatever...

    ok, here we go, assume the following:
    my domain is ex: blah.com
    my static ip is ex: 1.2.3.4
    there are 2 machines behind a router.
    192.168.1.101 is the linux box (eclipse)
    192.168.1.100 is a winxp box (viper)

    the linux box is obviously the one running bind.

    i did my best to set up the damn thing using webmin.
    here is my setup:

    named.conf
    =================
    options {
    directory "/etc";
    pid-file "/var/run/named/named.pid";
    };

    zone "." {
    type hint;
    file "/etc/db.cache";
    };

    zone "blah.com" {
    type master;
    file "/etc/blah.com.hosts";
    };

    zone "4.3.2.1.in-addr.arpa" {
    type master;
    file "/etc/1.2.3.4.rev";
    };
    ===============


    here is /etc/1.2.3.4.rev
    ==========================
    $ttl 38400
    4.3.2.1.in-addr.arpa. IN SOA ns1.blah.com. root.blah.com. (
    1024792452
    10800
    3600
    604800
    38400 )
    4.3.2.1.in-addr.arpa. IN NS ns1.blah.com.
    100.1.168.192.in-addr.arpa. IN PTR viper.blah.com.
    101.1.168.192.in-addr.arpa. IN PTR eclipse.blah.com.
    ==========


    here is /etc/blah.com.hosts
    =====================
    $ttl 38400
    blah.com. IN SOA ns1.blah.com. root.blah.com. (
    1024792381
    10800
    3600
    604800
    38400 )
    blah.com. IN NS ns1.blah.com.
    www.blah.com. IN A 1.2.3.4
    ftp.blah.com. IN A 1.2.3.4
    viper.blah.com. IN A 192.168.1.100
    eclipse.blah.com. IN A 192.168.1.101
    ===================

    here is /etc/hosts:
    ====================
    127.0.0.1 localhost.localdomain localhost
    192.168.1.100 viper.blah.com viper
    192.168.1.101 eclipse.blah.com eclipse
    ====================

    this is all i did, no other configs/settings were touched... btw do i need to change anything in /etc/hosts or /etc/resolv.conf?

    thanks in advance to anyone who has the time/patience to help me out with this

  2. #2
    Guest

    Re:i HATE dns... please help if u know this stuff

    Here are some questions for you:
    1. What version of bind r u running?

    2. Start with the simple solutions (ie. is bind running?)

    3. What sort of errors are you getting in your logs?

  3. #3

    Re:i HATE dns... please help if u know this stuff

    bind is ver 9... came with mandrake 8.2
    it runs, but the dns does not get resolved...
    when i typ www.blah.com it doesnt connect to my computer

  4. #4
    Mentor cga's Avatar
    Join Date
    May 2001
    Posts
    1,433

    Re:i HATE dns... please help if u know this stuff

    I know nothing about this topic, but a very good friend of mine does and written the following guide to djbdns.

    http://djbdns.wolfhome.com

    Maybe it will help you?


Similar Threads

  1. I hate having the flu
    By Lovechild in forum General Chat
    Replies: 17
    Last Post: 12-24-2006, 03:06 AM
  2. I Hate IE
    By stryder144 in forum General Chat
    Replies: 8
    Last Post: 02-10-2005, 05:43 PM
  3. God M$ How I Hate You!
    By tolstoy in forum Windows - General Topics
    Replies: 2
    Last Post: 02-19-2004, 06:21 PM
  4. I hate it when....
    By mcdougrs in forum General Chat
    Replies: 17
    Last Post: 06-30-2003, 04:39 AM
  5. I hate GMT+1
    By in forum General Chat
    Replies: 2
    Last Post: 12-06-2001, 12:27 PM

Bookmarks

Posting Permissions

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