DNS resolving local FQDN

Good day,

Is there a way to have the DNS server resolve local fqdn’s ? like “server4.mycompany.local” ??

i’m having problems with Scan to email because its smtp.gmail.com

local users can scan if i use the Office365 account on the Scanner but when i put back the gmail address, like they are requiring, it does not scan to email. Please assist. Seems traffic is blocked in some way.

I’m not sure what exactly happens with mail, so just about DNS… If the scanner uses router as DNS resolver, you can either:

a) Add static record server4.mycompany.local in “/ip dns static”. It would not update automatically, but server addresses usually don’t change often, so it could be good enough.
b) Use L7 hack to redirect mycompany.local to the right nameserver.

I will try it when i arrive to work in a few hours and give you feedback.

another small question, i have no physical server on site. I want to know if i need to put an input/forward rule for ports 25, 587 and 465?

specifically gmail ports. those are getting heavy. i have grey hair already.

i ran into this. What are your thoughts on it?

these are the commands:
/ip firewall filter add chain=input connection-state=established,related action=accept

My thought is that much more better and detailed explanation is required. As I wrote already, I gave you hint only about resolving local DNS. I don’t know what exactly happens with your mail, and it doesn’t like like you know either. :wink: But hey, it happens. Try to explain everything you know and maybe someone will understand it well enough to help you. Remember, there are so many ways how everything can be configured and nobody here knows what you might have.