Author Topic: [SOLVED] Can't resolve zentyal.me domains from a zentyal server  (Read 1459 times)

exancillatus

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
[SOLVED] Can't resolve zentyal.me domains from a zentyal server
« on: September 11, 2014, 11:47:14 am »
Hi guys,

Running a Zentyal 3.3.10 server, I discover that my server can not resolve x.zentyal.me domains from the server itself.

DNS config is as follow :

- In Network/DNS, "mycompany.com" in set
- In DNS :
     - Transparent DNS cache is enabled
     - 2 forwarders are set : 208.67.222.222 and 208.67.220.220
     - In Domains, "mycompany.com" is set with the configs for the subdomains

Yet, in command line I can resolve ANY domain name except anything ending with .zentyal.me

Could you guys point me to the right direction ?

Many thanks !

Ex
« Last Edit: September 11, 2014, 02:25:47 pm by exancillatus »

mateusz.stepien

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Can't resolve zentyal.me domains from a zentyal server
« Reply #1 on: September 11, 2014, 01:06:20 pm »
I have the same forwarders - OpenDNS. I will check does it have records. However I would recommend you to set A records for those queries on server rather then ask external DNS to respond on that queries.

mateusz.stepien

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Can't resolve zentyal.me domains from a zentyal server
« Reply #2 on: September 11, 2014, 01:10:16 pm »
Ok checked. OpenDNS does not have A record on zentyal.me . So you either set up A record on Zentyal DNS server or change DNS forwarders, Anyway why would you like to get external IP address ? When you are in your company network you should really resolve IP addresses to internal IP addresses not to external ones.

exancillatus

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Can't resolve zentyal.me domains from a zentyal server
« Reply #3 on: September 11, 2014, 01:33:14 pm »
Hi,

Thank you for your quick reply.

"So you either set up A record on Zentyal DNS server or change DNS forwarders"

- Which A record should I set ?
- Which forwarders should I use ?

"Anyway why would you like to get external IP address ?"

- I need to connect to external Zentyal servers with dynamic IPs

Thanks again !

mateusz.stepien

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Can't resolve zentyal.me domains from a zentyal server
« Reply #4 on: September 11, 2014, 02:01:42 pm »
Ok, therefore go to https://wiki.zentyal.org/wiki/En/3.5/Domain_Name_System_%28DNS%29 there is an instruction how to set A record.

In short:

Add Domain as a zentyal.me .

Then add host as a yourserver name. Try to ping the whole name from another computer that will be able to resolve IP address then add IP address to Host. Thats is all that you need to do.

You are using fine DNS forwarder (one of the secured ones) you may do a research how to request to add A record to into OpenDNS.


exancillatus

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Can't resolve zentyal.me domains from a zentyal server
« Reply #5 on: September 11, 2014, 02:25:29 pm »
Thanks but the point of x.zentyal.me is to act as dynamic dns so I won't set up a fixed IP for those domains.

I followed your advice and changed the forwarders, it's now working fine !

I change the subject to solved.

Thanks !