Author Topic: DNS not resolving in ebox 1.0rc1  (Read 1847 times)

mobcdi

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
DNS not resolving in ebox 1.0rc1
« on: October 24, 2008, 11:21:04 am »
I used the eBox platform 1.0rc1 CD installer to create a new ebox system but having a problem setting up the DNS server. I added the domain and set the entries for a number of devices on my network but I can't use the FQDN to browse to their management websites, if I use their IP addresses I can access them.

What steps should I take to troubleshoot my problem, in case it matters the network doesn't have outside access as I want it to be self contained

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: DNS not resolving in ebox 1.0rc1
« Reply #1 on: October 24, 2008, 03:52:35 pm »
Hi the 1.0rc1 is a testing verison, please install the 0.12 which is more stable.

mobcdi

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: DNS not resolving in ebox 1.0rc1
« Reply #2 on: October 24, 2008, 03:56:51 pm »
Is there known issues with 1.0rc1's DNS server?
I don't mind doing some troubleshooting if it helps to create a more stable product

mobcdi

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: DNS not resolving in ebox 1.0rc1
« Reply #3 on: October 30, 2008, 04:06:23 pm »
To further the discussion I used a windows XP client to run the nslookup command against my eBox to query it with the IP address of a server listed against a hostname.

It returned the error "No response from server" according to the net this may point to a problem with "the DNS server's reverse lookup zones do not contain a PTR record for the DNS server's IP address"

Is there a way either via the web or using the terminal to check to see if the reverse lookup zones contain the PTR record

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: DNS not resolving in ebox 1.0rc1
« Reply #4 on: October 31, 2008, 10:48:57 am »
May you check if the DNS records have been created using dig or hostname tools to check reverse mapping is working. For instance,
Code: [Select]
$ dig @localhost -x 10.1.1.1

Best regarads,
My secret is my silence...

mobcdi

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: DNS not resolving in ebox 1.0rc1
« Reply #5 on: October 31, 2008, 11:17:38 am »
Please forgive the silly newbie question but would I enter that on the eBox website diagnostic tools or via the ubuntu command line/terminal window?

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: DNS not resolving in ebox 1.0rc1
« Reply #6 on: October 31, 2008, 11:35:28 am »
Command line is more appropriate for this question. Log in using SSH.
My secret is my silence...

mobcdi

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: DNS not resolving in ebox 1.0rc1
« Reply #7 on: November 02, 2008, 08:11:54 pm »
So I ran the dig command from the ebox machine and gave it the IP address of another server on the network.

Anyone able to help decode this or maybe point out my error

This is the output I got for the following command
sudo dig @localhost -x 169.254.0.1

;<<>> DiG 9.4.2 <<>> @localhost -x 169.254.0.1
;(1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id 9616
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;1.0.254.169.in-addr.arpa.               IN            PTR

;;QUERY time: 15 msec
;; SERVER:127.0.0.1#53(127.0.0.1)
;; WHEN Sun Nov 2
;; MSG SIZE rcvd: 42

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: DNS not resolving in ebox 1.0rc1
« Reply #8 on: November 03, 2008, 08:48:17 am »
The output shows a SERVFAIL which means a misconfiguration is done in DNS server.

May you check all files have been created successfully? They are in /etc/bind/.

Best regards,
My secret is my silence...

mobcdi

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: DNS not resolving in ebox 1.0rc1
« Reply #9 on: November 03, 2008, 11:00:17 am »
Will check the files but is there anything I should be looking for in particular?

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: DNS not resolving in ebox 1.0rc1
« Reply #10 on: November 03, 2008, 06:50:40 pm »
Check in db.0.254.169 for PTR records to be present.

Any misconfiguration could be done, but not sure where!
My secret is my silence...

mobcdi

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: DNS not resolving in ebox 1.0rc1
« Reply #11 on: November 03, 2008, 10:55:59 pm »
I'm very new to linux so when I list the contents of the directory I get
db.0
db.255
named.conf
named.conf.options
zones.rfc1918
db.127
db.empty
db.root
named.conf.local
rndc.key


Should I have the file db.0.254.169 and if so can I create it myself and what should I put in there?
« Last Edit: November 06, 2008, 11:58:41 am by mobcdi »