For anyone finding this question and having similar problems:
Change your domain
.local is a reserved domain for mDNS as written in RFC 6762. Therefor you will from time to time encounter "strange" problems as some devices/implementation are fixed to mDNS as soon as .local is encountered.
Use something different like .home or .corp, and beware that .lan could work... but is undefinied and could change in the future.
(For .home & .corp there are referebces in RFCs that they are used in home and small business networks and should be avoided in global skopes.)