Zentyal Forum, Linux Small Business Server
Zentyal Server => Other modules => Topic started by: dragonz on June 04, 2018, 07:10:38 pm
-
I've this situation:
Local domain: mydomain.lan
Remote domain: mydomain.com
My zentyal is: zentyal.mydomain.lan with ip 192.168.0.50
My zentyal from remote: zentyal.mydomain.com with ip 69.xx.xx.xx
I'm searching a way to force the PC on local network to resolve zentyal.mydomain.com to 192.168.0.50
Thanks
-
With the old version, just create a second domain with the same ip of the primary.
With version 5.1.1 it goes into error that the ip is already present in the other domain.
Is there a way to specify the record A in the DNS server?
Thanks
-
Hi,
I had the same issue.
You must go to /etc/zentyal/ and open/edit dns.conf:
Change "allow_duplicated_ips = no" to "allow_duplicated_ips = yes"
==================================
# This file contains the most basic settings, most other stuff is configured
# using the web interface.
#
# Everything after a '#' character is ignored
#
# All whitespace is ignored
#
# Config keys are set this way:
#
# key = value
#
# They may contain comments at the end:
#
# key = value # this is ignored
# Internal networks allowed to do recursive queries
# to Zentyal DNS caching server. Local networks are already
# allowed and this setting is intended to networks
# reachables through static routes.
# Example: intnets = 192.168.99.0/24,192.168.98.0/24
intnets =
# This key control the automatic reverse zone generation
# Set to 'no' to disable it
generate_reverse_zones = yes
# This key defines whether you want to sort the results based on the querying IP
# Comment it to disable it
sortlist = yes
# Setting this key to 'yes' allows to add IP addresses already present
# in other hosts or domains
allow_duplicated_ips = yes
==============================
Kind regards,
Gabriel
-
It works!! Thanks a lot!
-
Glad to help you!
Best regards,
Gabriel