#1  
Old 29th June 2013, 00:56
ababneh ababneh is offline
Junior Member
 
Join Date: Mar 2013
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Smile DNS problem

I have a VPS freshly set up using: The Perfect Server - Ubuntu 12.04 LTS (nginx, BIND, Dovecot, ISPConfig 3)

So far I am still trying to figure out how to get rid of the error:

root@server:/etc/bind# ls
Code:
bind.keys  db.empty    named.conf.default-zones     rndc.key
db.0       db.local    named.conf.local             slave
db.127     db.root     named.conf.options           zones.rfc1918
db.255     named.conf  pri.ns1.example.com.err
the contents of the error file:

Code:
$TTL        3600
@       IN      SOA     ns1.example.com. mail.example.com. (
                        2013062812       ; serial, todays date + todays serial #
                        7200              ; refresh, seconds
                        540              ; retry, seconds
                        604800              ; expire, seconds
                        86400 )            ; minimum, seconds
;

example.com. 3600 A        173.333.222.105
example.com. 3600      MX    10   mail.example.com.
example.com. 3600      NS        ns1.example.com.
example.com. 3600      NS        ns2.example.com.
mail 3600 A        173.333.222.105
ns1 86400 A        173.333.222.105
ns2 86400 A        173.333.222.105
www 3600 A        173.333.222.105
I also tried this

Code:
root@server:/# dig @localhost example.com

; <<>> DiG 9.8.1-P1 <<>> @localhost example.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 54614
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;example.               IN      A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun 28 22:41:11 2013
;; MSG SIZE  rcvd: 33
And

Code:
root@server:/# dig @localhost ns1.example.com

; <<>> DiG 9.8.1-P1 <<>> @localhost ns1.example.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 22830
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ns1.example.com.           IN      A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun 28 22:44:56 2013
;; MSG SIZE  rcvd: 37
I checked /var/log/syslog and it is empty.

I can access the site via the ip address but when I point the browser to example.com I get "server not found" (on Firefox) and "This webpage is not available" (on chrome).


Any help with resolving this issue is appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 29th June 2013, 01:15
ababneh ababneh is offline
Junior Member
 
Join Date: Mar 2013
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Default

Here is snapshots from ispconfig panel



Reply With Quote
  #3  
Old 29th June 2013, 01:15
ababneh ababneh is offline
Junior Member
 
Join Date: Mar 2013
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Default





Reply With Quote
  #4  
Old 3rd July 2013, 18:41
ababneh ababneh is offline
Junior Member
 
Join Date: Mar 2013
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Default still no luck

domain has yet to be resolved. Any ideas from the community wold be very helpful! any1?
Reply With Quote
  #5  
Old 3rd July 2013, 19:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Take a look into the syslog in /var/log, bind is logging all zone errors there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 3rd July 2013, 20:20
ababneh ababneh is offline
Junior Member
 
Join Date: Mar 2013
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Default

There are many log files as shown below

Code:
root@server:/var/log# ls
alternatives.log    dmesg.0                lastlog         nginx
alternatives.log.1  dmesg.1.gz             mail.*          ntpstats
apache2             dmesg.2.gz             mail.err        php5-fpm.log
apt                 dmesg.3.gz             mail.log        pure-ftpd
aptitude            dmesg.4.gz             mail.log.1      pycentral.log
auth.log            dpkg.log               mailman         rkhunter.log
auth.log.1          dpkg.log.1             messages        rkhunter.log.1
boot                fail2ban.log           mysql           rkhunter.log.old
boot.log            fail2ban.log.1         mysql.err       syslog
btmp                faillog                mysql.log       udev
btmp.1              fsck                   mysql.log.1.gz  upstart
clamav              ispconfig              mysql.log.2.gz  wtmp
dbconfig-common     ispconfig_install.log  mysql.log.3.gz  wtmp.1
debug               kern.log               mysql.log.4.gz
dmesg               kern.log.1             news
I looked at syslog and it was empty, what log file I am to look at?
Thanks
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Major recovery Toucan Installation/Configuration 18 9th August 2011 11:45
Sending email issue lezelf Installation/Configuration 15 9th August 2011 11:20
Problem in DNS createch Installation/Configuration 1 2nd April 2010 13:18
Slave dns problem blackmask Installation/Configuration 1 3rd October 2007 13:51
DNS issue and user's alias problem rosa hsiao General 3 2nd November 2005 10:03


All times are GMT +2. The time now is 12:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.