Help setting a DNS server.

edwardspl at ita.org.mo edwardspl at ita.org.mo
Tue Aug 17 17:31:10 UTC 2004


Dear Wagner,

1, Does your BIND system come with FC1 ?
2, You must create a zone for your registered domain_name,
then config your DNS ( BIND ) with the zone file for action !
3, Test your config ( may be /etc/named.conf ) with your zone files and check it
is good for work with the log !

Good Luck !

PS : I think you may spend much time for learning DNS...

Edward.

Wagner Garcia Campagner wrote:

> Hello Edward,
>
> I'm using FEDORA CORE 1.
> BIND 9.2.2-P3.
> The registered domain is patchwork.com.br and there are already two DNS
> answering this domain. I want to make my own DNS and i have a static IP.
>
> Thanks a lot in advance,
> Wagner.
>
> >From: edwardspl at ita.org.mo
> >To: Wagner Garcia Campagner <wcampagner at hotmail.com>
> >CC: bind-users at isc.org
> >Subject: Re: Help setting a DNS server.
> >Date: Tue, 17 Aug 2004 22:59:24 +0800
> >
> >Dear You,
> >
> >How about your System first ?
> >And what is your registered domain_name ?
> >
> >Thanks,
> >Edward.
> >
> >Wagner Garcia Campagner wrote:
> >
> > > 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
> >
> >
>
> _________________________________________________________________
> MSN Messenger: instale grátis e converse com seus amigos.
> http://messenger.msn.com.br




More information about the bind-users mailing list