Help setting a DNS server.

This is a discussion on Help setting a DNS server. within the Bind Users forums, part of the DNS and Related Forums category; Hello, I've read the DNS How-to a few times and i'm trying to implement a DNS server. ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-17-2004
Wagner Garcia Campagner
 
Posts: n/a
Default Help setting a DNS server.

Hello,

I've read the DNS How-to a few times and i'm trying to implement a DNS
server.
I have a static IP, but i'm trying first just a caching server.
My configuration is as follows:

##############################
/etc/named.conf

// Config file for caching only name server
//

options {
directory "/var/named";

// query-source port 53;
};

controls {
inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
};


zone "." {
type hint;
file "named.ca";
};

zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};

include "/etc/rndc.key";
################################

################################
/var/named/named.local

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

/etc/resolv.conf

search localhost
nameserver 127.0.0.1
##################################


When i start named i get the following messages in /var/log/messages

Aug 17 10:38:14 wawa named[9155]: starting BIND 9.2.2-P3 -u named -t
/var/named/
chroot
Aug 17 10:38:14 wawa named[9155]: using 1 CPU
Aug 17 10:38:14 wawa named[9155]: loading configuration from
'/etc/named.conf'
Aug 17 10:38:14 wawa named[9155]: no IPv6 interfaces found
Aug 17 10:38:14 wawa named[9155]: listening on IPv4 interface lo,
127.0.0.1#53
Aug 17 10:38:14 wawa named[9155]: listening on IPv4 interface eth0,
200.161.16.9
3#53
Aug 17 10:38:14 wawa named[9155]: listening on IPv4 interface eth1,
192.168.10.1
#53
Aug 17 10:38:14 wawa named[9155]: command channel listening on 127.0.0.1#953
Aug 17 10:38:14 wawa named[9155]: running
Aug 17 11:38:14 wawa named: named startup succeeded





When i do: dig -x 127.0.0.1 i get:

; <<>> DiG 9.2.2-P3 <<>> -x 127.0.0.1
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 54524
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;1.0.0.127.in-addr.arpa. IN PTR

;; AUTHORITY SECTION:
in-addr.arpa. 10800 IN SOA A.ROOT-SERVERS.NET.
bind.ARIN.NET. 2004081704 1800 900 691200 10800

;; Query time: 2363 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Aug 17 11:39:11 1999
;; MSG SIZE rcvd: 104





Does anybody knows why my DNS is not working?

Thanks a lot in advance,
Wagner

__________________________________________________ _______________
MSN Messenger: instale grátis e converse com seus amigos.
http://messenger.msn.com.br


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0