<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
apart from my dig for you not giving real information......<BR>
<BR>
On Mon, 2010-10-04 at 23:08 +0200, Dotan Cohen wrote:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
// On 1.1.1.1
[<A HREF="mailto:root@1.1.1.1">root@1.1.1.1</A>]# cat /etc/named.conf
options {
directory "/etc";
</PRE>
</BLOCKQUOTE>
<BR>
Why are you specifying /etc here?<BR>
I suggest you use /var/named<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
pid-file "/var/run/named/named.pid";
listen-on {
any;
};
};
zone "." {
type hint;
file "/etc/db.cache";
</PRE>
</BLOCKQUOTE>
<BR>
remove /etc/
<BLOCKQUOTE TYPE=CITE>
<PRE>
};
zone "example.de" {
type master;
file "/var/named/example.de.hosts";
</PRE>
</BLOCKQUOTE>
<BR>
only need the file name (so long as you correct the options statement
<BLOCKQUOTE TYPE=CITE>
<PRE>
notify yes;
allow-query { any; };
};
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
who are you notifying?<BR>
where is..<BR>
allow-transfer { remotedns; };<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
zone "example.eu" {
type master;
file "/var/named/example.eu.hosts";
};
</PRE>
</BLOCKQUOTE>
<BR>
correct as above for who to transfer to<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
[<A HREF="mailto:root@1.1.1.1">root@1.1.1.1</A>]# cat /var/named/example.de.hosts
$ORIGIN example.de.
$TTL 86400
example.de. IN SOA example.de. foo.example.de. (
</PRE>
</BLOCKQUOTE>
replace example.de. with @
<BLOCKQUOTE TYPE=CITE>
<PRE>
2010100401; Serial - increment me
10800
3600
604800
38400 )
IN NS ns1.example.de.
IN NS ns2.example.de.
</PRE>
</BLOCKQUOTE>
<BR>
no MX record?<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
IN A 1.1.1.1
www IN A 1.1.1.1
ns1 IN A 1.1.1.1
ns2 IN A 1.1.2.2
// On 1.1.2.2
[<A HREF="mailto:root@1.1.2.2">root@1.1.2.2</A>]# cat /etc/named.conf
</PRE>
</BLOCKQUOTE>
fix up as above<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
listen-on {
any;
};
};
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
zone "." {
type hint;
file "/etc/db.cache";
};
zone "example.de" {
type slave;
masters { 1.1.1.1; };
allow-update { 1.1.1.1; };
</PRE>
</BLOCKQUOTE>
^^^^^ not needed<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
file "/var/named/example.de.hosts";
notify yes;
</PRE>
</BLOCKQUOTE>
^^^^ remove<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
allow-query { any; };
</PRE>
</BLOCKQUOTE>
ya got one right :)<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
allow-notify { 1.1.2.2; };
};
</PRE>
</BLOCKQUOTE>
remove<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
[<A HREF="mailto:root@1.1.2.2">root@1.1.2.2</A>]# cat /var/named/example.de.hosts
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
irrelevant since it gets this from master<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Of course, when I make a change to a hosts file I increment the serial
number and restart bind. I also restart bind after making a change to
</PRE>
</BLOCKQUOTE>
<BR>
'rndc reload' is all u need to do<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
named.conf. What am I doing wrong? Thanks!
</PRE>
</BLOCKQUOTE>
once you tell us your real domains and NS's, maybe, just maybe we can help more<BR>
<BR>
</BODY>
</HTML>