Yeah, DNS works fine - that's one of my primary uses for accessing my Pi-Hole's at home. You'll need to make sure it's set to respond to DNS requests on the NetMaker interface (Pi-Hole by default only accepts requests on default interface). If you're using an Egree with NAT then you should be alright.