busy-fireman-65628
03/27/2022, 5:57 PMbusy-fireman-65628
03/27/2022, 6:02 PMjolly-london-20127
03/27/2022, 6:51 PMjolly-london-20127
03/27/2022, 6:51 PMbusy-fireman-65628
03/27/2022, 7:14 PMjolly-london-20127
03/27/2022, 7:29 PMjolly-london-20127
03/27/2022, 7:30 PMbusy-fireman-65628
03/27/2022, 7:42 PMjolly-london-20127
03/27/2022, 7:45 PMbusy-fireman-65628
03/27/2022, 7:47 PMbusy-fireman-65628
03/27/2022, 7:49 PMbusy-fireman-65628
03/27/2022, 8:12 PMjolly-london-20127
03/27/2022, 8:12 PMbusy-fireman-65628
03/27/2022, 8:27 PM[Interface]
PrivateKey = <key>
Address = 10.11.12.3/32
DNS = <my_public_dns_server_ip>, 8.8.8.8
MTU = 1024
[Peer]
PublicKey = <key>
AllowedIPs = 10.11.12.0/24
Endpoint = <my_public_netmaker_ip (same as dns)>:51822
PersistentKeepalive = 20
busy-fireman-65628
03/27/2022, 8:27 PMbusy-fireman-65628
03/27/2022, 8:28 PM[Interface]
PrivateKey = <key>
Address = 10.11.12.3/32
DNS = 10.11.12.254, 8.8.8.8
MTU = 1024
[Peer]
PublicKey = <key>
AllowedIPs = 10.11.12.0/24
Endpoint = <my_public_netmaker_ip (same as dns)>:51822
PersistentKeepalive = 20
future-ram-24559
03/29/2022, 10:20 PMbusy-fireman-65628
03/30/2022, 1:18 AMfuture-ram-24559
03/30/2022, 3:27 AMbusy-fireman-65628
04/04/2022, 11:10 PMgray-caravan-67799
04/15/2022, 10:19 AMwhite-piano-73111
04/15/2022, 5:08 PMbusy-fireman-65628
04/15/2022, 5:29 PMwhite-piano-73111
04/15/2022, 5:51 PMkubectl -n kube-system edit cm coredns
to the netmaker server (and a backup server if you like). Then everything in your cluster will automatically use it. Wordpress and whatever else you have running.
You can chain it then to. Let's say your k8s cluster(coredns) is configured to use netmaker as a forwarder for "." then you can set your netmaker server to forward to pihole for example.
You don't need to worry about resolvectl in this case at all.busy-fireman-65628
04/15/2022, 6:00 PMbusy-fireman-65628
04/15/2022, 6:06 PMbusy-fireman-65628
04/15/2022, 6:22 PMyaml
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns-custom
namespace: kube-system
data:
log.override: |
log
custom.server: |
mynetwork.internal {
forward . 10.11.12.254
}
It appears to work very cleanly - only requests to the domain myurl.internal are forwarded, everything else just happens as it did before. I suspect I might be able to put *.internal in there and have everything to the .internal tld go through that nameserver. I'm going to try this approachwhite-piano-73111
04/16/2022, 2:03 AM