Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Debian Bind 9 Primary DNS
Debian Bind 9 Primary DNS
I followed the guide
http://www.debian.org/doc/manuals/netwo ... s-bindtest
and got stuck. I have talked to a Linux guy who know some stuff, I am a
noob. I am trying to learn. Anyway, I am trying to get Bind 9 working.
I got it to resolve DNS, but I can not get the custom domain to come
up. I tried these commands to restart the service:
killall named
named
Here are the files and locations:
--------------------------------------------------------------------------------------------------
; /var/named/192.168.1.db
;
@ IN SOA jeffcomputers.com. root.jeffcomputers.com.
(
1998121401 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Default TTL
IN NS dns.jeffcomputers.com.
33 IN PTR www.newdomain.com.
;20 IN PTR news.foo.org.
;30 IN PTR mail.foo.org.
100 IN PTR dns.jeffcomputers.com.
;50 IN PTR dns2.foo.org.
--------------------------------------------------------------------------------------------------
; /var/named/newdomain.db
;
@ IN SOA jeffcomputers.com. root.jeffcomputers.com.
(
1998121401 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Default TTL
IN NS dns.jeffcomputers.com.
;IN MX 10 mail.foo.org.
www IN A 192.168.1.33
;news IN A 192.168.100.20
;mail IN A 192.168.100.30
dns IN A 192.168.1.100
;dns2 IN A 192.168.100.50
;50 IN PTR dns2.foo.org.
--------------------------------------------------------------------------------------------------
;etc/named.conf
options {
directory "/var/named";
allow-transfer "192.168.1.114";
/*
* If there is a firewall between you and nameservers you
want
* to talk to, you might need to uncomment the
query-source
* directive below. Previous versions of BIND always
asked
* questions using port 53, but BIND 8.1 uses an
unprivileged
* port by default.
*/
// query-source address * port 53;
};
zone "." {
type hint;
file "named.root";
};
// type domain source file
zone "localhost" {
type master;
file "named.local";
};
zone "127.in-addr.arpa" {
type master;
file "named.rev-local";
};
zone "newdomain.com" {
type master;
file "newdomain.db";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "192.rev";
};
http://www.debian.org/doc/manuals/netwo ... s-bindtest
and got stuck. I have talked to a Linux guy who know some stuff, I am a
noob. I am trying to learn. Anyway, I am trying to get Bind 9 working.
I got it to resolve DNS, but I can not get the custom domain to come
up. I tried these commands to restart the service:
killall named
named
Here are the files and locations:
--------------------------------------------------------------------------------------------------
; /var/named/192.168.1.db
;
@ IN SOA jeffcomputers.com. root.jeffcomputers.com.
(
1998121401 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Default TTL
IN NS dns.jeffcomputers.com.
33 IN PTR www.newdomain.com.
;20 IN PTR news.foo.org.
;30 IN PTR mail.foo.org.
100 IN PTR dns.jeffcomputers.com.
;50 IN PTR dns2.foo.org.
--------------------------------------------------------------------------------------------------
; /var/named/newdomain.db
;
@ IN SOA jeffcomputers.com. root.jeffcomputers.com.
(
1998121401 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Default TTL
IN NS dns.jeffcomputers.com.
;IN MX 10 mail.foo.org.
www IN A 192.168.1.33
;news IN A 192.168.100.20
;mail IN A 192.168.100.30
dns IN A 192.168.1.100
;dns2 IN A 192.168.100.50
;50 IN PTR dns2.foo.org.
--------------------------------------------------------------------------------------------------
;etc/named.conf
options {
directory "/var/named";
allow-transfer "192.168.1.114";
/*
* If there is a firewall between you and nameservers you
want
* to talk to, you might need to uncomment the
query-source
* directive below. Previous versions of BIND always
asked
* questions using port 53, but BIND 8.1 uses an
unprivileged
* port by default.
*/
// query-source address * port 53;
};
zone "." {
type hint;
file "named.root";
};
// type domain source file
zone "localhost" {
type master;
file "named.local";
};
zone "127.in-addr.arpa" {
type master;
file "named.rev-local";
};
zone "newdomain.com" {
type master;
file "newdomain.db";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "192.rev";
};
- kink
- Debian Developer, Site Admin
- Posts: 248
- Joined: 2006-01-02 16:47
- Location: Utrecht, The Netherlands
- Been thanked: 1 time
First of all, you can use to reload the bind configuration.
You're not very clear how it "doesn't work". How does it fail, what error messages are in the log file?
Code: Select all
rndc reload
You're not very clear how it "doesn't work". How does it fail, what error messages are in the log file?
what log
What log? After doing some research, I think this may be it?
Code: Select all
Apr 11 06:25:16 localhost syslogd 1.4.1#17: restart.
Apr 11 06:26:05 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:26:39 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:27:35 localhost last message repeated 4 times
Apr 11 06:28:15 localhost last message repeated 2 times
Apr 11 06:29:38 localhost last message repeated 3 times
Apr 11 06:30:27 localhost last message repeated 4 times
Apr 11 06:31:22 localhost last message repeated 3 times
Apr 11 06:32:38 localhost last message repeated 3 times
Apr 11 06:33:23 localhost last message repeated 3 times
Apr 11 06:34:33 localhost last message repeated 3 times
Apr 11 06:35:28 localhost last message repeated 3 times
Apr 11 06:36:23 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:37:40 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:39:30 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:42:44 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:46:19 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:50:34 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:57:53 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:07:39 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:11:19 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:13:17 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:16:15 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:17:01 localhost /USR/SBIN/CRON[1583]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 07:19:16 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:24:00 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:28:51 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:33:06 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:34:11 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:35:47 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:37:01 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:38:53 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:40:17 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:43:06 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:44:21 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:45:28 localhost last message repeated 3 times
Apr 11 07:46:19 localhost last message repeated 3 times
Apr 11 07:47:41 localhost last message repeated 2 times
Apr 11 07:48:34 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:49:30 localhost last message repeated 3 times
Apr 11 07:50:23 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:51:29 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:52:31 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:53:51 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:55:09 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:58:00 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:02:06 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:03:12 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:03:58 localhost last message repeated 3 times
Apr 11 08:05:11 localhost last message repeated 4 times
Apr 11 08:06:06 localhost last message repeated 4 times
Apr 11 08:06:52 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:07:38 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:08:16 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:09:46 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:12:38 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:14:00 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:15:49 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:17:01 localhost /USR/SBIN/CRON[1587]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 08:20:13 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:30:46 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:43:42 localhost -- MARK --
Apr 11 08:47:55 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 09:03:42 localhost -- MARK --
Apr 11 09:17:01 localhost /USR/SBIN/CRON[1591]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 09:33:40 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 09:43:42 localhost -- MARK --
Apr 11 10:03:42 localhost -- MARK --
problems
All I know is that from my client I am able to use it as a DNS server, however if I try and go to www.newdomain.com that it goes to the public DNS entry and not my entry.
found another log
I found another log file:
Code: Select all
Apr 10 06:26:28 localhost syslogd 1.4.1#17: restart.
Apr 10 06:43:42 localhost -- MARK --
Apr 10 07:03:42 localhost -- MARK --
Apr 10 07:17:02 localhost /USR/SBIN/CRON[1332]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 07:43:42 localhost -- MARK --
Apr 10 08:03:42 localhost -- MARK --
Apr 10 08:17:01 localhost /USR/SBIN/CRON[1336]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 08:43:42 localhost -- MARK --
Apr 10 09:03:42 localhost -- MARK --
Apr 10 09:17:01 localhost /USR/SBIN/CRON[1340]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 09:43:42 localhost -- MARK --
Apr 10 10:03:42 localhost -- MARK --
Apr 10 10:17:01 localhost /USR/SBIN/CRON[1344]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 10:43:42 localhost -- MARK --
Apr 10 11:03:42 localhost -- MARK --
Apr 10 11:17:01 localhost /USR/SBIN/CRON[1348]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 11:43:42 localhost -- MARK --
Apr 10 11:47:41 localhost named[1085]: lame server resolving 'www.pconramp.com' (in 'pconramp.com'?): 209.145.150.10#53
Apr 10 12:03:42 localhost -- MARK --
Apr 10 12:17:01 localhost /USR/SBIN/CRON[1352]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 12:43:42 localhost -- MARK --
Apr 10 12:56:13 localhost dhclient: receive_packet failed on eth0: Network is down
Apr 10 12:56:15 localhost kernel: e100: eth0 NIC Link is Up 100 Mbps Full duplex
Apr 10 13:02:15 localhost named[1085]: shutting down
Apr 10 13:02:15 localhost named[1085]: no longer listening on 127.0.0.1#53
Apr 10 13:02:15 localhost named[1085]: no longer listening on 192.168.1.103#53
Apr 10 13:02:15 localhost named[1083]: exiting
Apr 10 13:02:30 localhost named[1404]: starting BIND 9.2.4
Apr 10 13:02:30 localhost named[1404]: using 1 CPU
Apr 10 13:02:30 localhost named[1406]: loading configuration from '/etc/bind/named.conf'
Apr 10 13:02:30 localhost named[1406]: no IPv6 interfaces found
Apr 10 13:02:30 localhost named[1406]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 10 13:02:30 localhost named[1406]: listening on IPv4 interface eth0, 192.168.1.88#53
Apr 10 13:02:30 localhost named[1406]: none:0: open: /etc/bind/rndc.key: permission denied
Apr 10 13:02:30 localhost named[1406]: couldn't add command channel 127.0.0.1#953: permission denied
Apr 10 13:02:30 localhost named[1406]: zone 0.in-addr.arpa/IN: loaded serial 1
Apr 10 13:02:30 localhost named[1406]: zone 127.in-addr.arpa/IN: loaded serial 1
Apr 10 13:02:30 localhost named[1406]: zone 255.in-addr.arpa/IN: loaded serial 1
Apr 10 13:02:30 localhost named[1406]: zone localhost/IN: loaded serial 1
Apr 10 13:02:30 localhost named[1406]: running
Apr 10 13:17:01 localhost /USR/SBIN/CRON[1411]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 13:43:42 localhost -- MARK --
Apr 10 14:03:42 localhost -- MARK --
Apr 10 14:17:01 localhost /USR/SBIN/CRON[1415]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 14:43:42 localhost -- MARK --
Apr 10 15:03:42 localhost -- MARK --
Apr 10 15:17:01 localhost /USR/SBIN/CRON[1419]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 15:43:42 localhost -- MARK --
Apr 10 16:03:42 localhost -- MARK --
Apr 10 16:17:01 localhost /USR/SBIN/CRON[1423]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 16:43:42 localhost -- MARK --
Apr 10 17:03:42 localhost -- MARK --
Apr 10 17:17:01 localhost /USR/SBIN/CRON[1427]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 17:43:42 localhost -- MARK --
Apr 10 18:03:42 localhost -- MARK --
Apr 10 18:17:01 localhost /USR/SBIN/CRON[1431]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 18:43:42 localhost -- MARK --
Apr 10 19:03:42 localhost -- MARK --
Apr 10 19:17:01 localhost /USR/SBIN/CRON[1435]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 19:43:42 localhost -- MARK --
Apr 10 20:03:42 localhost -- MARK --
Apr 10 20:17:01 localhost /USR/SBIN/CRON[1439]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 20:43:42 localhost -- MARK --
Apr 10 21:03:42 localhost -- MARK --
Apr 10 21:17:01 localhost /USR/SBIN/CRON[1443]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 21:43:42 localhost -- MARK --
Apr 10 22:03:42 localhost -- MARK --
Apr 10 22:17:01 localhost /USR/SBIN/CRON[1447]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 22:43:42 localhost -- MARK --
Apr 10 22:45:18 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 22:45:18 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 22:45:18 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 22:45:21 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 22:45:21 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 22:45:21 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 22:45:21 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 22:45:21 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 22:45:21 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 22:58:35 localhost named[1406]: lame server resolving 'host.jeffcomputers.com' (in 'jeffcomputers.com'?): 209.16.211.42#53
Apr 10 22:59:30 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 22:59:30 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 22:59:30 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 22:59:32 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 22:59:32 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 22:59:32 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 22:59:45 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 22:59:45 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 22:59:45 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 23:01:49 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 23:01:49 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 23:01:49 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 23:01:51 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 23:01:51 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 23:01:51 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 23:01:51 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 23:01:51 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 23:01:51 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 23:01:54 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 10 23:01:54 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.208.196.92#53
Apr 10 23:01:55 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 10 23:17:01 localhost /USR/SBIN/CRON[1459]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 10 23:23:39 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:23:57 localhost last message repeated 2 times
Apr 10 23:25:08 localhost last message repeated 2 times
Apr 10 23:25:54 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:27:29 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:28:27 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:29:13 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:30:43 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:34:33 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:37:36 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:37:57 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:38:57 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:40:33 localhost last message repeated 2 times
Apr 10 23:41:10 localhost last message repeated 2 times
Apr 10 23:42:28 localhost last message repeated 3 times
Apr 10 23:43:00 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:44:26 localhost last message repeated 3 times
Apr 10 23:45:40 localhost last message repeated 3 times
Apr 10 23:46:03 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:47:35 localhost last message repeated 2 times
Apr 10 23:48:42 localhost last message repeated 4 times
Apr 10 23:49:16 localhost last message repeated 3 times
Apr 10 23:50:36 localhost last message repeated 5 times
Apr 10 23:51:28 localhost last message repeated 3 times
Apr 10 23:52:02 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:53:34 localhost last message repeated 2 times
Apr 10 23:54:38 localhost last message repeated 2 times
Apr 10 23:55:27 localhost last message repeated 2 times
Apr 10 23:56:02 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:57:34 localhost last message repeated 2 times
Apr 10 23:58:01 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 10 23:59:07 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:00:02 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:01:08 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:02:38 localhost last message repeated 3 times
Apr 11 00:03:38 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:05:30 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:08:46 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:09:49 localhost last message repeated 2 times
Apr 11 00:11:00 localhost last message repeated 3 times
Apr 11 00:12:07 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:13:49 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 63.209.15.211#53
Apr 11 00:13:49 localhost named[1406]: lame server resolving 'aerodrome.org' (in 'aerodrome.org'?): 204.13.249.82#53
Apr 11 00:14:00 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 63.208.196.93#53
Apr 11 00:14:00 localhost named[1406]: lame server resolving 'www.aerodrome.org' (in 'aerodrome.org'?): 213.155.150.206#53
Apr 11 00:15:19 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:17:01 localhost /USR/SBIN/CRON[1463]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 00:17:44 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:19:47 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:20:35 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:21:24 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:22:51 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:24:32 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:26:18 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:28:12 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:33:06 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:33:39 localhost last message repeated 3 times
Apr 11 00:35:08 localhost last message repeated 4 times
Apr 11 00:35:58 localhost last message repeated 2 times
Apr 11 00:36:35 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:37:25 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:39:04 localhost last message repeated 2 times
Apr 11 00:40:37 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:41:18 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:42:27 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:43:34 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:44:31 localhost last message repeated 4 times
Apr 11 00:45:35 localhost last message repeated 4 times
Apr 11 00:46:25 localhost last message repeated 3 times
Apr 11 00:47:34 localhost last message repeated 2 times
Apr 11 00:48:35 localhost last message repeated 3 times
Apr 11 00:49:36 localhost last message repeated 2 times
Apr 11 00:51:17 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:52:50 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:53:38 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:55:06 localhost last message repeated 5 times
Apr 11 00:55:58 localhost last message repeated 2 times
Apr 11 00:56:49 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 00:58:09 localhost last message repeated 3 times
Apr 11 00:58:47 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:00:35 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:01:19 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:02:06 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:03:33 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:06:08 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:06:56 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:08:29 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:10:04 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:14:19 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:17:01 localhost /USR/SBIN/CRON[1467]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 01:22:23 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:40:51 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 01:56:11 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 02:17:01 localhost /USR/SBIN/CRON[1471]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 02:17:50 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 02:43:26 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 02:59:15 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 03:17:01 localhost /USR/SBIN/CRON[1475]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 03:24:59 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 03:43:42 localhost -- MARK --
Apr 11 04:03:42 localhost -- MARK --
Apr 11 04:17:01 localhost /USR/SBIN/CRON[1479]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 04:19:40 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 04:43:42 localhost -- MARK --
Apr 11 05:03:42 localhost -- MARK --
Apr 11 05:10:52 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 05:17:01 localhost /USR/SBIN/CRON[1483]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 05:29:45 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 05:43:42 localhost -- MARK --
Apr 11 06:03:42 localhost -- MARK --
Apr 11 06:04:20 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:08:09 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:13:28 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:17:01 localhost /USR/SBIN/CRON[1487]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 06:18:16 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:21:32 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:22:33 localhost last message repeated 4 times
Apr 11 06:23:22 localhost last message repeated 4 times
Apr 11 06:24:30 localhost last message repeated 2 times
Apr 11 06:24:45 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:25:01 localhost /USR/SBIN/CRON[1490]: (root) CMD (test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily)
Apr 11 06:25:15 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
ooops
Oops, I posted a new thread accidently.
Anyway, I think the problem is in here. However I am not sure how to fix it. I am a noob, so please provide all commands necessary. I am trying hard to learn.
Full:
Anyway, I think the problem is in here. However I am not sure how to fix it. I am a noob, so please provide all commands necessary. I am trying hard to learn.
Code: Select all
Apr 11 10:18:19 localhost named[1613]: listening on IPv4 interface eth0, 192.168.1.88#53
Apr 11 10:18:19 localhost named[1613]: none:0: open: /etc/bind/rndc.key: permission denied
Apr 11 10:18:19 localhost named[1613]: couldn't add command channel 127.0.0.1#953: permission denied
Apr 11 10:18:19 localhost named[1613]: zone 0.in-addr.arpa/IN: loaded serial 1
Apr 11 10:18:19 localhost named[1613]: zone 127.in-addr.arpa/IN: loaded serial 1
Apr 11 10:18:19 localhost named[1613]: zone 255.in-addr.arpa/IN: loaded serial 1
Apr 11 10:18:19 localhost named[1613]: zone localhost/IN: loaded serial 1
Apr 11 10:18:19 localhost named[1613]: running
Code: Select all
Apr 11 06:25:16 localhost syslogd 1.4.1#17: restart.
Apr 11 06:26:05 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:26:39 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:27:35 localhost last message repeated 4 times
Apr 11 06:28:15 localhost last message repeated 2 times
Apr 11 06:29:38 localhost last message repeated 3 times
Apr 11 06:30:27 localhost last message repeated 4 times
Apr 11 06:31:22 localhost last message repeated 3 times
Apr 11 06:32:38 localhost last message repeated 3 times
Apr 11 06:33:23 localhost last message repeated 3 times
Apr 11 06:34:33 localhost last message repeated 3 times
Apr 11 06:35:28 localhost last message repeated 3 times
Apr 11 06:36:23 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:37:40 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:39:30 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:42:44 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:46:19 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:50:34 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 06:57:53 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:07:39 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:11:19 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:13:17 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:16:15 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:17:01 localhost /USR/SBIN/CRON[1583]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 07:19:16 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:24:00 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:28:51 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:33:06 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:34:11 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:35:47 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:37:01 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:38:53 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:40:17 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:43:06 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:44:21 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:45:28 localhost last message repeated 3 times
Apr 11 07:46:19 localhost last message repeated 3 times
Apr 11 07:47:41 localhost last message repeated 2 times
Apr 11 07:48:34 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:49:30 localhost last message repeated 3 times
Apr 11 07:50:23 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:51:29 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:52:31 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:53:51 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:55:09 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 07:58:00 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:02:06 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:03:12 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:03:58 localhost last message repeated 3 times
Apr 11 08:05:11 localhost last message repeated 4 times
Apr 11 08:06:06 localhost last message repeated 4 times
Apr 11 08:06:52 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:07:38 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:08:16 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:09:46 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:12:38 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:14:00 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:15:49 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:17:01 localhost /USR/SBIN/CRON[1587]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 08:20:13 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:30:46 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 08:43:42 localhost -- MARK --
Apr 11 08:47:55 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 09:03:42 localhost -- MARK --
Apr 11 09:17:01 localhost /USR/SBIN/CRON[1591]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 09:33:40 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 09:43:42 localhost -- MARK --
Apr 11 10:03:42 localhost -- MARK --
Apr 11 10:14:23 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Apr 11 10:17:01 localhost /USR/SBIN/CRON[1608]: (root) CMD ( run-parts --report /etc/cron.hourly)
Apr 11 10:18:10 localhost named[1406]: shutting down
Apr 11 10:18:10 localhost named[1406]: no longer listening on 127.0.0.1#53
Apr 11 10:18:10 localhost named[1406]: no longer listening on 192.168.1.88#53
Apr 11 10:18:10 localhost named[1404]: exiting
Apr 11 10:18:19 localhost named[1611]: starting BIND 9.2.4
Apr 11 10:18:19 localhost named[1611]: using 1 CPU
Apr 11 10:18:19 localhost named[1613]: loading configuration from '/etc/bind/named.conf'
Apr 11 10:18:19 localhost named[1613]: no IPv6 interfaces found
Apr 11 10:18:19 localhost named[1613]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 11 10:18:19 localhost named[1613]: listening on IPv4 interface eth0, 192.168.1.88#53
Apr 11 10:18:19 localhost named[1613]: none:0: open: /etc/bind/rndc.key: permission denied
Apr 11 10:18:19 localhost named[1613]: couldn't add command channel 127.0.0.1#953: permission denied
Apr 11 10:18:19 localhost named[1613]: zone 0.in-addr.arpa/IN: loaded serial 1
Apr 11 10:18:19 localhost named[1613]: zone 127.in-addr.arpa/IN: loaded serial 1
Apr 11 10:18:19 localhost named[1613]: zone 255.in-addr.arpa/IN: loaded serial 1
Apr 11 10:18:19 localhost named[1613]: zone localhost/IN: loaded serial 1
Apr 11 10:18:19 localhost named[1613]: running
help please
I got rid of one error, however www.newdomain.com is still resolving to 213.188.129.48 instead of an internal 192.168.1.XX
Code: Select all
Apr 12 00:17:20 localhost named[1034]: starting BIND 9.2.4
Apr 12 00:17:20 localhost named[1034]: using 1 CPU
Apr 12 00:17:20 localhost named[1036]: loading configuration from '/etc/bind/named.conf'
Apr 12 00:17:20 localhost named[1036]: no IPv6 interfaces found
Apr 12 00:17:20 localhost named[1036]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 12 00:17:20 localhost named[1036]: listening on IPv4 interface eth0, 192.168.1.88#53
Apr 12 00:17:20 localhost named[1036]: command channel listening on 127.0.0.1#953
Apr 12 00:17:20 localhost named[1036]: zone 0.in-addr.arpa/IN: loaded serial 1
Apr 12 00:17:20 localhost named[1036]: zone 127.in-addr.arpa/IN: loaded serial 1
Apr 12 00:17:20 localhost named[1036]: zone 255.in-addr.arpa/IN: loaded serial 1
Apr 12 00:17:20 localhost named[1036]: zone localhost/IN: loaded serial 1
Apr 12 00:17:20 localhost named[1036]: running
- kink
- Debian Developer, Site Admin
- Posts: 248
- Joined: 2006-01-02 16:47
- Location: Utrecht, The Netherlands
- Been thanked: 1 time
It doesn't load a zone for that domain at all:
What's the relevant part of your config?
You should see something like zone newdomain.com/IN: loaded ...Code: Select all
127.0.0.1#953 Apr 12 00:17:20 localhost named[1036]: zone 0.in-addr.arpa/IN: loaded serial 1 Apr 12 00:17:20 localhost named[1036]: zone 127.in-addr.arpa/IN: loaded serial 1 Apr 12 00:17:20 localhost named[1036]: zone 255.in-addr.arpa/IN: loaded serial 1 Apr 12 00:17:20 localhost named[1036]: zone localhost/IN: loaded serial 1 Apr 12 00:17:20 localhost named[1036]: running
What's the relevant part of your config?
config
All the files involved, that I know of, are listed at the top. What file do you need to see? Or what other files should I be concerned with?
Also, dns.jeffcomputers.com is not in the public domain system yet, is this vital? Can I just replace it with an ip like xxx.xxx.xxx.xxx. with a period at the end?
Also, dns.jeffcomputers.com is not in the public domain system yet, is this vital? Can I just replace it with an ip like xxx.xxx.xxx.xxx. with a period at the end?
Which config file? Each file has its location at the top. Please let me know the right answers so I can make this work. Thanks.
kink wrote:Ok, overlooked those files at the top.
You have newdomain.db in your config, but it doesn't load it. That suggests that it doesn't load that config at all. Did you put the config file in the right place?
See the last message. Also, I forgot about this file:
Code: Select all
#/etc/resolv.conf
domain jeffcomputers.com
search jeffcomputers.com
nameserver 127.0.0.1
nameserver 216.231.41.2
What do these errors mean?
Code: Select all
Apr 22 14:43:56 localhost named[1070]: 192.rev:3: no TTL specified; using SOA MINTTL instead
Apr 22 14:43:56 localhost named[1070]: zone 1.168.192.in-addr.arpa/IN: loaded serial 69
Apr 22 14:43:56 localhost named[1070]: newdomain.db:3: no TTL specified; using SOA MINTTL instead
Apr 22 14:43:56 localhost named[1070]: zone jeffcomputers.com/IN: loaded serial 69
Apr 22 14:43:56 localhost named[1070]: zone localhost/IN: loading master file named.local: file not found
Apr 22 14:43:56 localhost named[1070]: running
Apr 22 14:43:56 localhost named[1070]: zone 1.168.192.in-addr.arpa/IN: sending notifies (serial 69)
Apr 22 14:43:56 localhost named[1070]: zone jeffcomputers.com/IN: sending notifies (serial 69)
Apr 22 14:43:56 localhost named[1070]: received notify for zone '1.168.192.in-addr.arpa'
Apr 22 14:43:57 localhost named[1070]: received notify for zone 'jeffcomputers.com'
debian:/var/named# dig @192.168.1.100 www.jeffcomputers.com
; <<>> DiG 9.2.4 <<>> @192.168.1.100 www.jeffcomputers.com
;; global options: printcmd
;; connection timed out; no servers could be reached