Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
How to add mx record for Dnsmasq-DNS?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to add mx record for Dnsmasq-DNS? (Read 1839 times)
sjjh
Jr. Member
Posts: 55
Karma: 2
How to add mx record for Dnsmasq-DNS?
«
on:
May 11, 2023, 01:10:22 pm »
Quick question, what is the preferred way to add an MX record for an Dnsmasq-DNS host entry? It seems no GUI option is available. I did find an old
github issue
, which left me wondering if I should manually add it to the config file via ssh/cli, or call the dnsmasq command with the parameter "--mx" to creae a new entry, or if I might have overlooked an GUI option.
Background of the question: We are running a split DNS setup with nginx on the opnsense as reverse proxy and the postfix opnsense plugin for smtp forwarding. I cannot deliver email from outside, despite having entered the domain under postfix and I assume that the problem is related to the DNS A record of the internal domain, pointing to the reverse proxy.
Thanks for any help!
Logged
sjjh
Jr. Member
Posts: 55
Karma: 2
Re: How to add mx record for Dnsmasq-DNS?
«
Reply #1 on:
May 13, 2023, 08:43:29 pm »
Note to myself: after changing the postfix plugin configuration to not include a domain name as target, but an IP address, the email gets delivered. This doesn't answer my initial question, but makes it (for the moment) irrelevant.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: How to add mx record for Dnsmasq-DNS?
«
Reply #2 on:
May 14, 2023, 09:32:50 pm »
MX support for Dnsmasq was never asked for if I recall correctly. At some point it was added to Unbound.
Cheers,
Franco
Logged
sjjh
Jr. Member
Posts: 55
Karma: 2
Re: How to add mx record for Dnsmasq-DNS?
«
Reply #3 on:
May 18, 2023, 11:29:52 am »
Thx for your reply! Dnsmasq was mentioned by
fichtner
in the linked github issue, but I also understood the PR as it the Web-GUI option was only added to Unbound.
Simon
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: How to add mx record for Dnsmasq-DNS?
«
Reply #4 on:
May 18, 2023, 11:31:48 am »
I can look into it, but only if you open a new ticket. I don't want to revive ancient tickets that have actual work done...
Cheers,
Franco
Logged
sjjh
Jr. Member
Posts: 55
Karma: 2
Re: How to add mx record for Dnsmasq-DNS?
«
Reply #5 on:
May 18, 2023, 12:28:14 pm »
Thx for the offer! To be honest, as it currently seems to work with the IP address specified in postfix the urgent need has declined (I'm rather wondering if there is a bug in the postfix plugin (DNS vs. IP), but that might also be my limited understanding of the whole matter).
I once heard the rumor, that dnsmasq would not be recommended anymore and unbound is the way to go. Thus, I'd understand if dnsmasq is out of focus. On the other hand, if it helps, I'm more than happy to create a new ticket.
Personally, I'm more urgent in need to find a solution for the
https connection issues
Cheers
Simon
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
How to add mx record for Dnsmasq-DNS?