Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
DynDNS and MX-record
« previous
next »
Print
Pages: [
1
]
Author
Topic: DynDNS and MX-record (Read 254 times)
lada04
Newbie
Posts: 6
Karma: 0
DynDNS and MX-record
«
on:
November 17, 2024, 04:35:55 pm »
Hi,
after many years on pfsense, I'm migrating to opnsense (24.7.8-amd64).
In pfsense, I had to use the complete URI to update the DynDNS (strato). In os-ddclient plugin (v1.25) there are profiles for many providers, but I haven't found an option to include the MX-record in the update. Finally I use the custom profile with custom-GET using the URI
https://dyndns.strato.com/nic/update?mx=domain.cc
Is there a more elegant way to include the update of the MX record? My impression is that this option is not considered in the profiles. Actually it would be great to have an option in the webinterface to include also the MX-record.
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1595
Karma: 176
Re: DynDNS and MX-record
«
Reply #1 on:
November 17, 2024, 04:59:27 pm »
But the MX record points to an FQDN, why would it need any updates?
Logged
Hardware:
DEC740
meyergru
Hero Member
Posts: 1680
Karma: 165
IT Aficionado
Re: DynDNS and MX-record
«
Reply #2 on:
November 17, 2024, 05:08:25 pm »
No, it may not, according to
RFC 2181
, at least you cannot specify a CNAME pointing to your dynamic entry.
There are also other types of records that cannot be specified as a CNAME, e.g.: @ (meaning the domain itself), because there are usually other entries that may be needed apart from an address, like MX or SOA or TXT records.
«
Last Edit: November 17, 2024, 05:45:21 pm by meyergru
»
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005
1100 down / 440 up
,
Bufferbloat A+
lada04
Newbie
Posts: 6
Karma: 0
Re: DynDNS and MX-record
«
Reply #3 on:
November 17, 2024, 05:14:55 pm »
If I do not specify the MX record, the default server of the provider handles the email (and rejects).
Logged
viragomann
Full Member
Posts: 186
Karma: 7
Re: DynDNS and MX-record
«
Reply #4 on:
November 17, 2024, 05:28:25 pm »
But you can specify the host name of your dynacmic IP as MX, which is static. So there should be no need to update it.
Logged
lada04
Newbie
Posts: 6
Karma: 0
Re: DynDNS and MX-record
«
Reply #5 on:
November 17, 2024, 05:36:54 pm »
Yes, I agree, it is a fixed setting. However, each time I send an update after ip change, the default server is set again. I looked for a setting at my provider, but haven't found any option. I'll ask for support.
Logged
lada04
Newbie
Posts: 6
Karma: 0
Re: DynDNS and MX-record
«
Reply #6 on:
November 17, 2024, 06:21:59 pm »
The provider explained to me that it is not possible to change the A-record without setting the MX-record.
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1595
Karma: 176
Re: DynDNS and MX-record
«
Reply #7 on:
November 17, 2024, 06:56:03 pm »
Really they reset the whole zone if you send an update for single record? Which DNS provider is it?
Logged
Hardware:
DEC740
lada04
Newbie
Posts: 6
Karma: 0
Re: DynDNS and MX-record
«
Reply #8 on:
November 17, 2024, 07:25:44 pm »
It is an isp (strato) where dyndns is just an option. I suppose the MX record by default points to their server (for the whole zone) so after updating the A-record the MX-record needs to be individually adjusted if it should not point to the default server. I can specify an alternative MX record for my domain permanently but not in case of dyndns.
«
Last Edit: November 17, 2024, 07:57:13 pm by lada04
»
Logged
lada04
Newbie
Posts: 6
Karma: 0
Re: DynDNS and MX-record
«
Reply #9 on:
November 17, 2024, 10:31:03 pm »
I just discovered that my attempt to include the update of the MX-record doesn't work, neither with native nor the ddclient backend.
Sending the update manually does. Is there any way to solve it with ddclient as implemented in opnsense?
I'd appreciate a simple solution like in pfsense, based on an arbitrary URI and authentication.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
DynDNS and MX-record