Bind 9 Master zone
Re: Bind 9 Master zone
[quote]
pschaff wrote:
Looked more like a quad or quint monitor issue to me. :roll: Wrapped the lines by changing tags, but did not attempt to "un-garble".
To [b]dragon_sa[/b] - please do not just paste long output into the Code or Quote widgets - they are broken and will strip out all line terminations. :-(
Just paste into the edit window instead, and fix the tags as required for correct formatting.[/quote]
Thank your for your help fixing the formatting of this post :-)
I now have a named.root and named.hold in /var/named/chroot/var/named but I am still getting the same file not found errors, should they be located somewhere else?
pschaff wrote:
Looked more like a quad or quint monitor issue to me. :roll: Wrapped the lines by changing tags, but did not attempt to "un-garble".
To [b]dragon_sa[/b] - please do not just paste long output into the Code or Quote widgets - they are broken and will strip out all line terminations. :-(
Just paste into the edit window instead, and fix the tags as required for correct formatting.[/quote]
Thank your for your help fixing the formatting of this post :-)
I now have a named.root and named.hold in /var/named/chroot/var/named but I am still getting the same file not found errors, should they be located somewhere else?
Re: Bind 9 Master zone
try specifying the exact path to the file in the config, that's what i had to do.
[code]zone "." {
type hint;
file "/var/named/chroot/var/named/named.root";
};
[/code]
[code]zone "." {
type hint;
file "/var/named/chroot/var/named/named.root";
};
[/code]
Re: Bind 9 Master zone
Thanks for that I finally got bind to find the files by going /var/named/file as appears to start from the chrooted directory, now i have the following errors
* zone ./IN: has 0 SOA records
* internal/./IN: bad zone
* dns_rdata_fromtext: /var/named/named.hold:1: unexpected end of input
* zone ./IN: loading master file /var/named/named.hold: unexpected end of input
* external/./IN: unexpected end of input
and this is whats in my named.hold file
* A (server_ip_address) ; GLOBALOK
* zone ./IN: has 0 SOA records
* internal/./IN: bad zone
* dns_rdata_fromtext: /var/named/named.hold:1: unexpected end of input
* zone ./IN: loading master file /var/named/named.hold: unexpected end of input
* external/./IN: unexpected end of input
and this is whats in my named.hold file
* A (server_ip_address) ; GLOBALOK
Re: Bind 9 Master zone
It sounds like you have both the bind and bind-chroot pacakges installed..
Re: Bind 9 Master zone
You seem to be correct I have the following packages installed
bind 9.3.6-4.P1.el5_5.3
bind-chroot 9.3.6-4.P1.el5_5.3
ypbind 1.19-12.el5
do I just uninstall the bind package or do I need to do something else?
bind 9.3.6-4.P1.el5_5.3
bind-chroot 9.3.6-4.P1.el5_5.3
ypbind 1.19-12.el5
do I just uninstall the bind package or do I need to do something else?
Re: Bind 9 Master zone
I think that in order to have bind-chroot installed you must already have bind installed anyway!
Re: Bind 9 Master zone
lol I went ahead and uninstalled bind, and getting start errors, and was slowling trying to rediect them all to the chroot version, so do I now go back and install bind again to get it working properly, and then look at the unclosed zone errors again?
Re: Bind 9 Master zone
I tried it on a box without bind or bind-chroot and, yes, installing bind-chroot installs bind for you.
[code]
# yum install bind-chroot
...
Dependencies Resolved
==========================================================================================
Package Arch Version Repository Size
==========================================================================================
Installing:
bind-chroot x86_64 30:9.3.6-4.P1.el5_5.3 updates 44 k
Installing for dependencies:
bind x86_64 30:9.3.6-4.P1.el5_5.3 updates 986 k
[/code]
[code]
# yum install bind-chroot
...
Dependencies Resolved
==========================================================================================
Package Arch Version Repository Size
==========================================================================================
Installing:
bind-chroot x86_64 30:9.3.6-4.P1.el5_5.3 updates 44 k
Installing for dependencies:
bind x86_64 30:9.3.6-4.P1.el5_5.3 updates 986 k
[/code]
Re: Bind 9 Master zone
Re installed bind, configured the file paths and am back to the same error messages listed before.
Re: Bind 9 Master zone
That's because your named.hold file is not syntactically valid. As far as I know, you must have an SOA section at the start. The one record that you quoted doesn't look right either.