My named.conf file is empty

cat /etc/bind/named.conf.options file

Here is the new file:


options {
directory "/var/cache/bind";

; If there is a firewall between you and nameservers you want
; to talk to, you may need to fix the firewall to allow multiple
; ports to talk. See http://www.kb.cert.org/vuls/id/800113

; If your ISP provided one or more IP addresses for stable
; nameservers, you probably want to use them as forwarders.
; Uncomment the following block, and insert the addresses replacing
; the all-0's placeholder.

forwarders {
68.87.64.146;
68.87.75.194
};

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};


And a new domain name test:


root@server1:~# named-checkzone biomedcircle.net /etc/bind/named.conf
dns_master_load: /etc/bind/named.conf:9: syntax error
dns_master_load: /etc/bind/named.conf:9: isc_lex_gettoken() failed: unbalanced quotes
dns_master_load: /etc/bind/named.conf:9: unbalanced quotes
dns_master_load: /etc/bind/named.conf:10: syntax error
dns_master_load: /etc/bind/named.conf:10: isc_lex_gettoken() failed: unbalanced quotes
dns_master_load: /etc/bind/named.conf:10: unbalanced quotes
dns_master_load: /etc/bind/named.conf:11: syntax error
dns_master_load: /etc/bind/named.conf:11: isc_lex_gettoken() failed: unbalanced quotes
dns_master_load: /etc/bind/named.conf:11: unbalanced quotes
dns_master_load: /etc/bind/named.conf:12: syntax error
dns_master_load: /etc/bind/named.conf:12: isc_lex_gettoken() failed: unbalanced quotes
dns_master_load: /etc/bind/named.conf:12: unbalanced quotes
dns_master_load: /etc/bind/named.conf:13: syntax error
dns_master_load: /etc/bind/named.conf:13: isc_lex_gettoken() failed: unbalanced quotes
dns_master_load: /etc/bind/named.conf:13: unbalanced quotes
dns_master_load: /etc/bind/named.conf:14: syntax error
dns_master_load: /etc/bind/named.conf:14: isc_lex_gettoken() failed: unbalanced quotes
dns_master_load: /etc/bind/named.conf:14: unbalanced quotes
dns_master_load: /etc/bind/named.conf:15: syntax error
dns_master_load: /etc/bind/named.conf:15: isc_lex_gettoken() failed: unbalanced quotes
dns_master_load: /etc/bind/named.conf:15: unbalanced quotes
dns_master_load: /etc/bind/named.conf:16: syntax error
dns_master_load: /etc/bind/named.conf:16: isc_lex_gettoken() failed: unbalanced quotes
dns_master_load: /etc/bind/named.conf:16: unbalanced quotes
zone biomedcircle.net/IN: loading from master file /etc/bind/named.conf failed: syntax error
zone biomedcircle.net/IN: not loaded due to errors.

Thanks
 
Very strange.. i really dont get why it doenst work at all..

Try remove this line

; the all-0's placeholder.

but actually ive no more serious ideas...
 
/etc/init.d/sysklogd restart leads to access denied

I found a web site last night that tells you how to configure bind9 for chroot security.
With this command "/etc/init.d/sysklogd restart", I got "root@server1:~# /etc/init.d/sysklogd restart
-bash: /etc/init.d/sysklogd: Permission denied "

This could be part of my problem.
Thanks,
 
/etc/host file is probably wrong

root@server1:/usr/local/directadmin# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
50.73.187.178 server1.biomedcircle.net

Shouldn't this file show this
"127.0.0.1 localhost
127.0.1.1 <host_name>.<domain_name> <host_name>

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Can I edit this file manually, or is there something I can do to fix it?
Thanks
 
It look correct to me..

127.0.0.1 should just be localhost and

publicip complete host should be the one with the hostname of the server...

so.. to me look good.
 
missing LSB tags and overrides

When I install the resolvconf package, The output does not look good. Please take a look. I may be missing some key files.
Thank you


root@server1:/usr/local/directadmin# apt-get install resolvconf
apt-get: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
resolvconf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
/usr/lib/apt/methods/http: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
Need to get 56.3 kB of archives.
After this operation, 184 kB of additional disk space will be used.
/usr/lib/apt/methods/http: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
Get:1 http://ftp.us.debian.org/debian/ squeeze/main resolvconf all 1.46 [56.3 kB]
Fetched 56.3 kB in 9s (5,976 B/s)
/usr/bin/python: /usr/local/lib/libz.so.1: no version information available (required by /usr/bin/python)
apt-extracttemplates: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
Preconfiguring packages ...
Selecting previously deselected package resolvconf.
(Reading database ... 125485 files and directories currently installed.)
Unpacking resolvconf (from .../resolvconf_1.46_all.deb) ...
Processing triggers for man-db ...
Setting up resolvconf (1.46) ...
mkdir: created directory `/lib/init/rw/resolvconf'
mkdir: created directory `/lib/init/rw/resolvconf/interface'
insserv: warning: script 'K01directadmin' missing LSB tags and overrides
insserv: warning: script 'K01dovecot' missing LSB tags and overrides
insserv: warning: script 'K01startips' missing LSB tags and overrides
insserv: warning: script 'K01da-popb4smtp' missing LSB tags and overrides
insserv: warning: script 'K01httpd' missing LSB tags and overrides
insserv: warning: script 'K01mysqld' missing LSB tags and overrides
insserv: warning: script 'mysqld' missing LSB tags and overrides
insserv: warning: script 'sysklogd' missing LSB tags and overrides
insserv: warning: script 'directadmin' missing LSB tags and overrides
insserv: warning: script 'httpd' missing LSB tags and overrides
insserv: warning: script 'dovecot' missing LSB tags and overrides
insserv: warning: script 'da-popb4smtp' missing LSB tags and overrides
insserv: warning: script 'startips' missing LSB tags and overrides
root@server1:/usr/local/directadmin#
 
Accepting that the Web server's dns is irrelevant

Hi,
I am giving up on making the dns work. It appears that the only relevant information for any domain hosted by my web server is what I set up at the domain registrar. Right now I am forced to use Godaddy's name servers with an A record that points each domain name to my debian web server IP. So whatever DA admin panel DNS shows has absolutely no effect on the domain.
My subsequent servers will not be a debian server; that's for sure!

I thank you all for your help. This is my first experience with Directadmin. I think I like it. I like the support so far from all of you who responded.
Thank you so much!
 
There's nothing wrong with using // instead of ;; both are supported.

There's a syntax error; if it's not in your named.conf file, it's in one of your include files.

We can certainly fix this for you; it would need to be as a paid service because some forensic work
would be required.

If you'd like to hire us please send me an email.

Thanks.

Jeff
 
DNS error

HI,
Good to know you can deal with DNS issues. I replaced the OS with Centos 6.
I am sure I will have complicated issues in the future. I will keep you in mind.
Thanks
 
Back
Top