newbie question -- simple dns
Warren Mansur
wmansur at cs.indiana.edu
Tue Sep 19 07:53:14 UTC 2000
Hi,
I pasted the into the file the logging statement, but no file is
generated. Here is the new named.conf file:
_______________________________________________________
logging
{
channel my_file {
file "/var/named/named.run";
severity debug;
print-time yes;
};
category default {my_file;};
category panic {my_file;};
category packet {my_file;};
category eventlib {my_file;};
category queries {my_file;};
};
options {
directory "/var/named";
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "pz/127.0.0";
};
zone "malichi.net" {
type master;
file "pz/malichi.net";
};
------------------------------------------------------
Any idea on what I'm doing wrong? Thanks.
Warren Mansur
phone: (812)857-8222
home email: wmansur at cs.indiana.edu
On Tue, 19 Sep 2000, Len Conrad wrote:
>
>
> >However, I can't set up any of my own computers as a subset of this
> >domain. For example, I'm trying to add ftp.malichi.net as a computer in
> >this domain. For right now I'm trying to make the ftp computer be the
> >same as the dns server for testing purposes: Here is my named.conf file:
> >
> >------------------------------------------------------
> >// Config file for caching only name server
>
> look ok
>
> >Here is my malichi.net file:
>
> looks ok, too
>
> >It seems that now I should be able to restart bind and then do 'ping
> >ftp.malichi.net', correct?
>
> yes
>
> >But, ping and nslookup both complain that host
> >doesn't exist. Any suggestions on what to do to be able to add computers
> >as I please to my domain? Thanks.
>
>
> dig @149.159.118.4 ftp.malichi.net a
>
> ; <<>> DiG 8.2 <<>> @149.159.118.4 ftp.malichi.net a
> ; (1 server found)
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 6
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;; ftp.malichi.net, type = A, class = IN
>
> ;; Total query time: 134 msec
> ;; FROM: mgw1.meiway.com to SERVER: 149.159.118.4
> ;; WHEN: Tue Sep 19 09:23:01 2000
> ;; MSG SIZE sent: 33 rcvd: 33
>
> # dig @149.159.118.4 malichi.net a
>
> ; <<>> DiG 8.2 <<>> @149.159.118.4 malichi.net a
> ; (1 server found)
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 6
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;; malichi.net, type = A, class = IN
>
> ;; Total query time: 136 msec
> ;; FROM: mgw1.meiway.com to SERVER: 149.159.118.4
> ;; WHEN: Tue Sep 19 09:23:26 2000
> ;; MSG SIZE sent: 29 rcvd: 29
>
> and DNS is running at least.
>
> Into named.conf, paste the logging statement from my site
> http://BIND8NT.meiway.com and see what named.run comes up with. I
> think you'll figure it out from there.
>
> Len
>
>
>
>
>
>
>
More information about the bind-users
mailing list