
17th March 2011, 15:46
|
|
Junior Member
|
|
Join Date: Mar 2011
Posts: 13
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
38.99.159.169 and 170 is on my own DNS server also forwarded by provider ns servers.
|

17th March 2011, 18:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
Originally Posted by bigjerboa
But i got an error to start name service.
|
What's the error message?
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

17th March 2011, 18:42
|
|
Junior Member
|
|
Join Date: Mar 2011
Posts: 13
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
ok Falko,
I changed the path to /var/named/chroot/etc/named.conf.local through ispconfig from System > Server Config > DNS tab > BIND name.config.local path and restarted name service. Now it workds and there is no error. but still site is not coming up by name!
Last edited by bigjerboa; 17th March 2011 at 19:52.
|

17th March 2011, 18:47
|
|
Junior Member
|
|
Join Date: Mar 2011
Posts: 13
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
Here is name.config
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named/chroot/var/named";
dump-file "/var/named/chroot/var/named/data/cache_dump.db";
statistics-file "/var/named/chroot/var/named/data/named_stats.txt";
memstatistics-file "/var/named/chroot/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.root";
};
include "/var/named/chroot/etc/named.conf.local";
and this is named.conf.local
zone "wnof.com" {
type master;
allow-transfer {38.99.159.169;38.99.159.170;};
file "/var/named/chroot/var/named//pri.wnof.com";
};
|

18th March 2011, 14:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What's in /var/named/chroot/var/named//pri.wnof.com?
Can you resolve your domains locally?
Code:
dig @localhost yourdomain.com
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

18th March 2011, 15:00
|
|
Junior Member
|
|
Join Date: Mar 2011
Posts: 13
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
dig out put is here:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> @localhost wnof.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52398
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; QUESTION SECTION:
;wnof.com. IN A
;; ANSWER SECTION:
wnof.com. 86400 IN A 38.99.159.173
;; AUTHORITY SECTION:
wnof.com. 86400 IN NS ns11.grfe.net.
wnof.com. 86400 IN NS ns12.grfe.net.
;; ADDITIONAL SECTION:
ns12.grfe.net. 5610 IN A 38.99.159.170
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 18 09:56:11 2011
;; MSG SIZE rcvd: 104
and it is the same content in /var/named/chroot/var/named//pri.wnof.com
|

18th March 2011, 19:20
|
|
Junior Member
|
|
Join Date: Mar 2011
Posts: 13
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
I also receive error when restarting httpd:
...
[warn] NameVirtualHost 38.99.159.173:443 has no VirtualHosts
[warn] NameVirtualHost *:80 has no VirtualHosts
...
|

18th March 2011, 20:19
|
|
Junior Member
|
|
Join Date: Mar 2011
Posts: 13
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
It seems I have to turn back to ispconfig 2 ...  !!
|

19th March 2011, 18:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
Originally Posted by bigjerboa
dig out put is here:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> @localhost wnof.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52398
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; QUESTION SECTION:
;wnof.com. IN A
;; ANSWER SECTION:
wnof.com. 86400 IN A 38.99.159.173
;; AUTHORITY SECTION:
wnof.com. 86400 IN NS ns11.grfe.net.
wnof.com. 86400 IN NS ns12.grfe.net.
;; ADDITIONAL SECTION:
ns12.grfe.net. 5610 IN A 38.99.159.170
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 18 09:56:11 2011
;; MSG SIZE rcvd: 104
and it is the same content in /var/named/chroot/var/named//pri.wnof.com
|
So BIND is working.
According to http://www.intodns.com/wnof.com , you didn't create any NS records for the domain. (Please post the zone file so that I can verify this.)
Quote:
I also receive error when restarting httpd:
...
[warn] NameVirtualHost 38.99.159.173:443 has no VirtualHosts
[warn] NameVirtualHost *:80 has no VirtualHosts
...
|
These are just warnings. Does Apache work?
There's no reason to go back to ISPConfg 2!
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

19th March 2011, 21:46
|
|
Junior Member
|
|
Join Date: Apr 2010
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Had similar problems mine related to the following post.
http://www.howtoforge.com/forums/showthread.php?t=46741
Hope it helps.
|
|
The Following User Says Thank You to stephan1024 For This Useful Post:
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 13:59.
|
Recent comments
8 hours 11 min ago
14 hours 52 min ago
18 hours 43 min ago
20 hours 22 min ago
1 day 4 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 18 hours ago
1 day 23 hours ago
1 day 23 hours ago