What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

RT-AC68U / Merlin 378.56_2 Zone transfer

Tuinkabouter

New Around Here
Hello all,

As being a new user to Merlin I'm running into something where Google can't help me for the moment.

My setup is as follows:

- One Debian server connected to the Internet, running Samba, Bind and OpenVPN in subnet 192.168.50.0/24
- 5 RT-AC68U routers to connect 5 small offices to each other with the OpenVPN client. The routers are each setup to serve a different subnet to the client computers with DHCP. Router 1 serves 192.168.50.0/24, Router 2 serves 192.168.52.0/24 and so on.

The debian box serves 192.168.50.0/24 to its clients by DHCP, where isc-dhcp-server dynamically updates a BIND zone for an FQDN, and for the 192.168.50.0/24 it works perfectly, i can ping clientname.fqdn.tld from all connected VPN-sites, however, it only resolves the debian-clients.

What I want to achieve is that the Merlin-routers does the same trick for its subnet, so that all network clients can resolve all computers on all subnets to its name.

When I google for DDNS on Merlin boxes it's allways updating the WAN-ip to a DynDNS-like but I want to update/store the LAN ip's with their hostnames in my BIND-server. Is there a way to do this?

Kind regards,
Tuinkabouter
 
Here's the part from the debian dhcp config:
Code:
[dhcpd.conf]

authoritative;

option domain-name "fqdn.tld";
option domain-name-servers 192.168.50.1;

ddns-updates on;
ddns-update-style interim;
ignore client-updates;
update-static-leases on;

default-lease-time 600;
max-lease-time 7200;
log-facility local7;

include "/etc/dhcp/ddns.key";

zone fqdn.tld. {
  primary 127.0.0.1;
  key DDNS_UPDATE;
}

zone 50.168.192.in-addr.arpa. {
  primary 127.0.0.1;
  key DDNS_UPDATE;
}

[/dhcpd.conf]
Can I somehow use this on Merlin?
 
Last edited:
I've found what i'm looking for...

apparently I want to do a thing called "zone forwarding".

The needed rules in dnsmasq.conf.add would be something like:

Code:
auth-server=knes.computerdokter-groenlo.nl
auth-zone=knes.computerdokter-groenlo.nl
auth-sec-servers=192.168.50.1
auth-peer=192.168.50.1

However, when I reboot and look at the syslog I see:

Code:
Aug  1 02:00:19 custom config: Appending content of /jffs/configs/dnsmasq.conf.add.
Aug  1 02:00:20 dnsmasq[638]: unsupported option (check that dnsmasq was compiled with DHCP/TFTP/DNSSEC/DBus support) at line 26 of /etc/dnsmasq.conf
Aug  1 02:00:20 dnsmasq[638]: FAILED to start up

Does this mean zone transfers aren't possible in Merlin?
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Back
Top