Re: Zone File IP address/Hostname

2011-04-01 Thread Tony MacDoodle
I think it's something with one of the zone files, here is what I get

nslookup rac-scan
Server: xxx.xxx.xxx.xxx
Address:xxx.xxx.xxx.xxx#53

Name:   rac-scan.rac.local
Address: xxx.xxx.xxx.xxx
Name:   rac-scan.rac.local
Address: xxx.xxx.xxx.xxx
Name:   rac-scan.rac.local
Address: xxx.xxx.xxx.xxx

root:jabba:~# nslookup rac2-scan
;; connection timed out; no servers could be reached



/var/adm/messages
Apr  1 09:05:16 apple named[1695]: [ID 873579 daemon.info] shutting down
Apr  1 09:05:16 apple named[1695]: [ID 873579 daemon.notice] stopping
command channel on 127.0.0.1#953
Apr  1 09:05:16 apple named[1695]: [ID 873579 daemon.info] no longer
listening on 127.0.0.1#53
Apr  1 09:05:16 apple named[1695]: [ID 873579 daemon.info] no longer
listening on xxx.xxx.xxx.24#53
Apr  1 09:05:16 apple named[1695]: [ID 873579 daemon.notice] exiting
Apr  1 09:05:16 apple named[1715]: [ID 873579 daemon.notice] starting BIND
9.6.1-P3 -4
Apr  1 09:05:16 apple named[1715]: [ID 873579 daemon.notice] built with
--prefix=/usr --with-libtool --bindir=/usr/sbin --sbindir=/usr/sbin
--libdir=/usr/lib/dns --sysconfdir=/etc --localstatedir=/var
--with-openssl=/usr/sfw --enable-threads=yes --enable-devpoll=yes
--enable-fixed-rrset --disable-openssl-version-check -DNS_RUN_PID_DIR=0
Apr  1 09:05:16 apple named[1715]: [ID 873579 daemon.info] found 8 CPUs,
using 8 worker threads
Apr  1 09:05:16 apple named[1715]: [ID 873579 daemon.info] using up to 4096
sockets
Apr  1 09:05:16 apple named[1715]: [ID 873579 daemon.info] loading
configuration from '/etc/named.conf'
Apr  1 09:05:16 apple named[1715]: [ID 873579 daemon.info] using default
UDP/IPv4 port range: [1024, 65535]
Apr  1 09:05:16 apple named[1715]: [ID 873579 daemon.info] using default
UDP/IPv6 port range: [1024, 65535]
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] no IPv6
interfaces found
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] listening on IPv4
interface lo0, 127.0.0.1#53
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] listening on IPv4
interface vnet0:1, xxx.xxx.xxx.24#53
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: 0.IN-ADDR.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: 127.IN-ADDR.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: 254.169.IN-ADDR.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: 2.0.192.IN-ADDR.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: 255.255.255.255.IN-ADDR.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone:
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: D.F.IP6.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: 8.E.F.IP6.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: 9.E.F.IP6.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: A.E.F.IP6.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] automatic empty
zone: B.E.F.IP6.ARPA
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.notice] command channel
listening on 127.0.0.1#953
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.error] zone
xxx.10.10.in-addr.arpa/IN: NS 'apple.xxx.10.10.in-addr.arpa' has no address
records (A or )
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] zone
xxx.10.10.in-addr.arpa/IN: loaded serial 1
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.error] zone
xxx.10.10.in-addr.arpa/IN: NS 'apple.xxx.10.10.in-addr.arpa' has no address
records (A or )
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] zone
xxx.10.10.in-addr.arpa/IN: loaded serial 1
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.error] zone
0.0.127.in-addr.arpa/IN: NS 'apple.0.0.127.in-addr.arpa' has no address
records (A or )
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] zone
0.0.127.in-addr.arpa/IN: loaded serial 1
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.error] zone
rac.local/IN: NS 'apple.rac.local' has no address records (A or )
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] zone
rac.local/IN: loaded serial 2
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.error] zone
rac2.local/IN: NS 'apple.rac2.local' has no address records (A or )
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.info] zone
rac2.local/IN: loaded serial 3
Apr  1 09:05:17 apple named[1715]: [ID 873579 daemon.notice] running


Thanks
On Fri, Apr 1, 2011 at 2:10 AM, Torinthiel torinth...@data.pl wrote:

 On 04/01/11 03:47, Tony MacDoodle wrote:
  Hello,
 
  I am trying to configure 2 different domains

BIND 9 and 2 Domains

2011-03-31 Thread Tony MacDoodle
I was wondering if someone had a sample named.conf file I could reference
that would allow for the configuration of 2 different domain names?


Thanks
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

BIND 9 And Short Name resolution Problem

2011-03-31 Thread Tony MacDoodle
Hello,

I get the following messages on the BIND server when I do a short name
nslookup from a client:

Mar 31 14:08:04 jedi named[1299]: [ID 873579 daemon.info] network
unreachable resolving 'C.ROOT-SERVERS.NET//IN': 2001:500:1::803f:235#53
Mar 31 14:08:05 jedi named[1299]: [ID 873579 daemon.info] network
unreachable resolving 'I.ROOT-SERVERS.NET//IN': 2001:500:1::803f:235#53
Mar 31 14:08:07 jedi named[1299]: [ID 873579 daemon.info] network
unreachable resolving 'B.ROOT-SERVERS.NET//IN': 2001:500:2f::f#53
Mar 31 14:08:07 jedi named[1299]: [ID 873579 daemon.info] network
unreachable resolving 'L.ROOT-SERVERS.NET//IN': 2001:500:2f::f#53

The config files are below, we are running BIND 9 on Solaris 10. We
currently have 2 domain names configured and on IP address on the BIND
server itself. Any ideas from the gurus??

Thanks



cat named.conf

options {
directory /var/named;
};

zone 0.0.127.in-addr.arpa {
type master;
file db.127.0.0;
};

zone test.local {
type master;
file db.test;
};

zone test2.local {
type master;
file db.test2;
};

zone 118.10.10.in-addr.arpa {
type master;
file db.10.10.118;
};

zone 119.10.10.in-addr.arpa {
type master;
file db.10.10.119;
};

zone 240.100.10.in-addr.arpa {
type master;
file db.10.1.240;
};


cat db.test
$TTL 86400
@   SOA jedi root ( 1 10800 3600 604800 600 )
NS  jedi

localhost   A   127.0.0.1
test-scanA   10.10.119.140
A   10.10.119.141
A   10.10.119.142
MX  10 test-scan
dns1A   10.1.240.24
MX  10 dns1
dns2A   10.1.240.23
MX  10 dns2

cat db.test2

$TTL 86400
@   SOA jedi root ( 1 10800 3600 604800 600 )
NS  jedi

localhost   A   127.0.0.1
test2-scan   A   10.10.118.140
A   10.10.118.141
A   10.10.118.142
MX  10 test2-scan
dns1A   10.1.240.24
MX  10 dns1
dns2A   10.1.240.23
MX  10 dns2
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Zone File IP address/Hostname

2011-03-31 Thread Tony MacDoodle
Hello,

I am trying to configure 2 different domains on one host that only has one
physical interface plummed.

I think I have an errorthat I list the hostname of the interface in both
zone files as below and this might be why I can't resolve properly. Do you
see any mistakes in the files below?
The only active interface is 192.168.5.5
Thanks


root:/var/named# cat named.conf
options {
listen-on-v6 { none; };
listen-on { 192.168.5.5; };
directory /var/named;
};
zone 0.0.127.in-addr.arpa {
type master;
file db.127.0.0;
};
zone rac.local {
type master;
file db.rac;
};
zone rac2.local {
type master;
file db.rac2;
};
zone 10.168.192.in-addr.arpa {
type master;
file db.192.168.10;
};
zone 20.168.192.in-addr.arpa {
type master;
file db.192.168.20;
};

root:jedi:/var/named# cat db.rac
$TTL 86400
@   SOA jedi root ( 2 10800 3600 604800 600 )
NS  jedi
localhost   A   127.0.0.1
rac-scanA   xxx.xxx.xxx.xxx
A   xxx.xxx.xxx.xxx
A   xxx.xxx.xxx.xxx
MX  10 rac-scan

root:jedi:/var/named# cat db.rac2
$TTL 86400
@   SOA jedi root ( 3 10800 3600 604800 600 )
NS  jedi
localhost   A   127.0.0.1
rac2-scan   A   xxx.xxx.xxx.xxx
A   xxx.xxx.xxx.xxx
A   xxx.xxx.xxx.xxx
MX  10 rac2-scan
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Root Hints Data File for a .local Domain

2011-03-09 Thread Tony MacDoodle
Hello,

I am currently running BIND 9.6.1-P3 and it works fine. My question is
regarding the db.cache file. I am only running a local domain (apps.local)
that does not access the internet for resolution. My current root hints file
is from Internic.

1) Can I use a stripped version of the named.root file

2) Do I need it at all for a local domain


Thanks
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Root Hints Data File for a .local Domain

2011-03-09 Thread Tony MacDoodle
So in the named.conf file I can get rid of the following:

zone . { type hint; file db.cache; };

Thanks



On Wed, Mar 9, 2011 at 9:19 AM, Florian Weimer fwei...@bfk.de wrote:

 * Tony MacDoodle:

  2) Do I need it at all for a local domain

 No, configuring a zone using the zone statement on all resolvers is
 sufficient.  If the resolver knows about authoritative data, it will
 not try to fetch it from the Internet.

 You should reconsider using local, though.  Some clients treat it as
 a special string.  Use a real domain name, or something under loc or
 corp.

 --
 Florian Weimerfwei...@bfk.de
 BFK edv-consulting GmbH   http://www.bfk.de/
 Kriegsstraße 100  tel: +49-721-96201-1
 D-76133 Karlsruhe fax: +49-721-96201-99

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users