Vladimir wrote:
Hi, Jens.
I now attach my config file with zones and log files.
At 19:13 i have started named.
At 19:15 "dig 127.0.0.1"
JR> I'm busy for next 2 days. I'll prove it on Thursday if it's not to
JR> late for you, ok?
And where are you?
Sorry, I've been very busy in last weeks. But you're right,
I promised to help - I'm a bad guy :-(
Ok, I saved you cfg's into orig/, copied them into a new/
directory and simplified it most I could. The diff is attached.
Would you please try whether it works so far?
Best regards and really sorry about the delay,
Jens
diff -u orig/localhost.db new/localhost.db
--- orig/localhost.db Sun Nov 9 15:14:50 2003
+++ new/localhost.db Sun Nov 9 15:20:44 2003
@@ -1,6 +1,4 @@
-
$TTL 1D
-
localhost. IN SOA ns.habanet.local.
hostmaster.habanet.local. (
2003091501 ;serial number
86400 ;refresh
@@ -9,5 +7,5 @@
3600 ;minimum
)
-localhost. IN NS ns.habanet.local.
+ IN NS @
localhost. IN A 127.0.0.1
diff -u orig/localhost.rev new/localhost.rev
--- orig/localhost.rev Sun Nov 9 15:14:50 2003
+++ new/localhost.rev Sun Nov 9 15:21:31 2003
@@ -14,5 +14,5 @@
3888000 ; Expire
3600 ; Minimum
)
- IN NS ns.habanet.local.
-1 IN PTR localhost.habanet.local.
+ IN NS localhost.
+1 IN PTR localhost.
diff -u orig/named.conf new/named.conf
--- orig/named.conf Sun Nov 9 15:14:50 2003
+++ new/named.conf Sun Nov 9 15:19:22 2003
@@ -1,51 +1,18 @@
options {
directory "/etc/namedb";
pid-file "/etc/namedb/named.pid";
- allow-recursion { 192.168.1.0/24; 127.0.0.1;};
- allow-query { 192.168.1.0/24; 127.0.0.1;};
- version "unknow";
+ // allow-recursion { 192.168.1.0/24; 127.0.0.1;};
+ // allow-query { 192.168.1.0/24; 127.0.0.1;};
+ // version "unknow";
forwarders {
80.80.111.254;
80.80.111.244;
};
- query-source address * port 53;
+ // Sure that nslookup binds to port 53?
+ // query-source address * port 53;
dump-file "/var/tmp/named_dump.db";
};
-controls {};
-
-key DHCP_UPDATER {
- algorithm *** :-);
- secret **** :-);
-};
-
-logging {
- channel update_debug {
- file "/var/log/named-update.log";
- severity debug 5;
- print-category yes;
- print-severity yes;
- print-time yes;
- };
- channel security_info {
- file "/var/log/named-auth.log";
- severity info;
- print-category yes;
- print-severity yes;
- print-time yes;
- };
- channel example_debug {
- file "/var/log/named-debug.log";
- severity debug 5;
- print-category yes;
- print-severity yes;
- print-time yes;
- };
- category default { example_debug; };
- category update { update_debug; };
- category security { security_info; };
-};
-
zone "." {
type hint;
file "named.root";
@@ -67,7 +34,7 @@
type master;
file "habanet.local.db";
// allow-query { 192.168.1.0/24; 127.0.0.1;};
- allow-update { key DHCP_UPDATER; };
+// allow-update { key DHCP_UPDATER; };
// allow-transfer {192.168.1.4;};
// notify no;
};
@@ -76,7 +43,7 @@
type master;
file "192.168.1.db";
// allow-query { 192.168.1.0/24; 127.0.0.1;};
- allow-update { key DHCP_UPDATER; };
+// allow-update { key DHCP_UPDATER; };
// allow-transfer {192.168.1.4;};
};
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"