my first post here, any help is appreciated. I have a fortigate 50E with a bunch of PCs connected to it which form my internal network. One of the PCs is running a web app (Confluence to be precise). I can access this app from within the internal network with . Now I'd like to be able to access it from the internal network using something like 'confluence.myoffice.com:someport'. I also have confluence.myoffice.com as subdomain with my webhoster, but which I don't expect to see if I open that url from my local network. I read about conditional port forwarding and set it up via the Fortigate CLI:
config system dns-database edit "my_forward" set authoritative disable set domain "confluence.myoffice.com" set forwarder "<myIP>" next end
and also set up the interface, so that in my Fortigate UI I see:
However when I open a browser on my internal network with confluence.myoffice.com it takes me to the public version. How can I check that the Fortigate settings are taking effect?
I followed @Zac67 instructions and have the following now:
but when I do nslookup from a machine in the LAN it still seems to go through the usual DNS:
This is what I get from the Fortigate console: