g0blin79 0 Newbie Poster

Hello

I'm new and I have a question to submit to you. This is my situation.

I have some company services on one machine that is inside of my lan. I have a static ip (for example: 20.20.20.20) for this and I have setted my dns to accomplish my needs, configuring (always for example) the subdomain "forge.mycompany.com" as A record on my static IP 20.20.20.20.

Now, all works well from the outside, but from the inside of my lan, if I put in my browser "http://forge.mycompany.com" I can't resolve it.

I tried adding a "fake" domain zone "mycompany.com" in my internal dns server (based on Bind9 and used to resolve internal addresses on the zone "mycompany.int"), setting a CNAME for "forge.mycompany.com" to "forge.mycompany.int" that I had previously created. Now all seems work also inside my lan, but obviously now I can't resolve all other existing "mycompany.com" subdomains.

I hope I was clear... Anyone have an idea?

Thx