Hi--

On Sep 25, 2013, at 12:22 PM, IT Support <it.compilat...@gmail.com> wrote:
> Hi charles

I'm "Chuck", although I've also answered to worse things than my full name.  :-)

> this is what i get from dig
> 
>  dig host2.mydomain.com 
> 
> ; <<>> DiG 9.6-ESV-R4 <<>> ost2.mydomain.com
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 49898
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> 
> ;; QUESTION SECTION:
> ;host2.mydomain.com            IN      A
> 
> ;; AUTHORITY SECTION:
> mydomain.com.             3600    IN      SOA     server.mydomain.com. 
> postmaster.ost2.mydomain.com 2013092500 10800 3600 604800 38400
> 
> ;; Query time: 0 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Wed Sep 25 13:40:02 2013
> ;; MSG SIZE  rcvd: 119
> 
> I don“t know what happend I already added the dns record on both external and 
> internal. Another issue when i made a dig from a diferent internet lynk  i 
> got a answer from the private ip for the host.

I assume you're concealing the actual domain name in favor of a generic 
mydomain.com?

Anyway, the query to localhost aka 127.0.0.1 is likely not working because it 
doesn't match the external view you'd setup.  Try doing a "dig 
host2.mydomain.com @external_IP", which would perform the lookup using the 
external IP your nameserver can be reached at.

Regards,
-- 
-Chuck

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to