These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for [BUG] DNS Options - Duplicity IP on the new forum.
Hey!
Whenever I add a new domain, when I go to Virtualmin > Server Configuration > DNS Options
I see my IP repeated twice in the Allowed sender IPv4 addresses
field.
I always have to remove that to fix my DNS Records.
How do I stop Virtualmin from repeating the same IP twice? I only own 1 IPv4, there is no explanation why Virtualmin would add twice the same IPv4 if I haven't set a second IP for that.
Got the same problem and this post was the only one mentioning it. (that I could find).
A quick and dirty fix is to disable SPF creation and add under System Settings/Server Templates/default settings/Bind DNS domain, in "BIND DNS records for new domains"
${DOM}. IN TXT "v=spf1 ip4:1.2.3.4 -all"
Of course, change 1.2.3.4 to suit your setup.
Howdy,
Hmm, what is the output of the command "ifconfig"? I'm curious if there's something in that output that's causing it to duplicate that IP.
-Eric
Hello,
ens160 is the public interface
ens161 is a lan only interface without gateway
Using Ubuntu 18.04 server 64 bits
ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 82.7x.xx.xx netmask 255.255.255.248 broadcast 82.7x.xx.xxx
ether 00:25:90:bb:30:99 txqueuelen 1000 (Ethernet)
RX packets 16328 bytes 2372120 (2.3 MB)
RX errors 0 dropped 1451 overruns 0 frame 0
TX packets 13458 bytes 6958599 (6.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xfd4c0000-fd4dffff
ens161: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.50 netmask 255.255.255.0 broadcast 192.168.1.255
ether 00:25:90:bb:2c:58 txqueuelen 1000 (Ethernet)
RX packets 28 bytes 3508 (3.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 1071 bytes 97255 (97.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1071 bytes 97255 (97.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
All my domains show an ip in there twice but I have no dns issues. All works still.