From owner-freebsd-newbies Thu Jan 6 13:37:57 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from mail.dsp.uiowa.edu (mail.dsp.uiowa.edu [128.255.242.147]) by hub.freebsd.org (Postfix) with ESMTP id BA65D14F8E for ; Thu, 6 Jan 2000 13:37:50 -0800 (PST) (envelope-from chris-manjoine@uiowa.edu) Received: from dsp45 (dsp62.dsp.uiowa.edu [128.255.242.128]) by mail.dsp.uiowa.edu (8.9.3/8.9.3) with ESMTP id PAA67668 for ; Thu, 6 Jan 2000 15:37:46 -0600 (CST) Message-Id: <4.2.2.20000106150136.00ab4f00@mail.vpr.uiowa.edu> X-Sender: manjoine@mail.vpr.uiowa.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Thu, 06 Jan 2000 15:32:04 -0600 To: freebsd-newbies@FreeBSD.ORG From: Chris Manjoine Subject: Primary DNS setup problems Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_285690130==_.ALT" Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --=====================_285690130==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Ok I have set up DNS on a redhat box before and I thought this would be straight forward I have added the configurations in my named.conf file to goto my zone but nothing happens. I can't get it to work at all named.conf options { directory "/etc/namedb"; pid-file "/var/run/named.pid"; }; zone "." { type hint; file "/etc/namedb/db.cache"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "/etc/namedb/0.0.127.IN-ADDR.ARPA.hosts"; }; I want to get the caching name server setup first to avoid any simple errors but this will not even work. the db.cache is the same as everyone else has and the 0.0.127.IN-ADDR.ARPA.hosts @ IN SOA ns.linux.bogus. hostmaster.linux.bogus. ( 1 ; Serial 8H ; Refresh 2H ; Retry 1W ; Expire 1D) ; Minimum TTL NS ns.linux.bogus. 1 PTR localhost. rc.conf file stuff NOTE THAT I AM USING A DHCP CLIENT THAT LINKS TO A STATIC IP # -- sysinstall generated deltas -- # network_interfaces="ep0 lo0" ifconfig_ep0="DHCP" # -- sysinstall generated deltas -- # named_enable="YES" Other info available at request~ --=====================_285690130==_.ALT Content-Type: text/html; charset="us-ascii" Ok I have set up DNS on a redhat box before and I thought this would be straight forward I have added the configurations in my named.conf file to goto my zone but nothing happens. I can't get it to work at all


named.conf

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

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

zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "/etc/namedb/0.0.127.IN-ADDR.ARPA.hosts";
        };
              


I want to get the caching name server setup first to avoid any simple errors but this will not even work.
the db.cache is the same as everyone else has and the 0.0.127.IN-ADDR.ARPA.hosts

@               IN      SOA     ns.linux.bogus. hostmaster.linux.bogus. (
                                1       ; Serial
                                8H      ; Refresh
                                2H      ; Retry
                                1W      ; Expire
                                1D)     ; Minimum TTL
                        NS      ns.linux.bogus.
1                       PTR     localhost.



rc.conf file stuff NOTE THAT I AM USING A DHCP CLIENT THAT LINKS TO A STATIC IP

# -- sysinstall generated deltas -- #
network_interfaces="ep0 lo0"
ifconfig_ep0="DHCP"
# -- sysinstall generated deltas -- #
named_enable="YES"

Other info available at request~                      --=====================_285690130==_.ALT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message