what is wrong with this?

ozi oguz at ce.yildiz.edu.tr
Mon Feb 21 23:05:22 UTC 2005


sorry for posting twice.


Barry Margolin wrote:
> In article <cvap3q$1hbs$1 at sf1.isc.org>, "ozi" <oguz at ce.yildiz.edu.tr>

> wrote:
>
> > I need to set up a dns to try an app. Since I don't have an actual
> > domain name, I want to set up a bogus domain name "ozi.ozan" to my
> > localhost with the help of bind running also on my localhost. Since
> > everything is in the localhost, everything should work, but it
doesn't.
> >
> >
> > As I am new to this, I used webmin to modify the conf files that
come
> > with apt-get (debian testing): I looked documentation but I can't
see
> > a problem with these... Could you take a look at it? thx.
>
> Are there any errors in the log messages from named when it starts
up?
>

I couldn't find any named log messages. "locate log | grep named" or
"locate log | grep bind" returned nothing.




> >
> > -----------/etc/bind/name.conf.local
> > zone "ozan" {
> > 	type master;
> > 	file "/etc/bind/ozan.hosts";
> > 	};
> >
> > ---------------/etc/bind/ozan.hosts
> > $ttl 38400
> > ozan.	IN	SOA	ozi. admin.ozan. (
> > 			1108949011
> > 			10800
> > 			3600
> > 			604800
> > 			38400 )
> > ozan.	IN	NS	ozi
> > ozi.ozan.	IN	A	127.0.0.1
> >
> > ------------------/etc/resolve.conf
>
> The correct filename should be /etc/resolv.conf -- no "e" at the end
of
> "resolv".

right.


>
> > nameserver 127.0.0.1
> > nameserver real-dns-server-ip-erased-here
> > nameserver real-dns-server-ip-erased-here
> >
> > -------------------/et/named.conf
> > include "/etc/bind/named.conf.options";
> > zone "." {
> > 	type hint;
> > 	file "/etc/bind/db.root";
> > };
> > zone "localhost" {
> > 	type master;
> > 	file "/etc/bind/db.local";
> > };
> > zone "127.in-addr.arpa" {
> > 	type master;
> > 	file "/etc/bind/db.127";
> > };
> > zone "0.in-addr.arpa" {
> > 	type master;
> > 	file "/etc/bind/db.0";
> > };
> > zone "255.in-addr.arpa" {
> > 	type master;
> > 	file "/etc/bind/db.255";
> > };
> > include "/etc/bind/named.conf.local";
>
> --
> Barry Margolin, barmar at alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***

one more hint: when I try to query by dig I get this :

# dig ozi.ozan

; <<>> DiG 9.2.4rc5 <<>> ozi.ozan
;; global options:  printcmd
;; connection timed out; no servers could be reached

so dig cannot connect the named even if it is running?



More information about the bind-users mailing list