Re: DNS and Remote Host over VPN

2013-07-10 Thread Lawrence K. Chen, P.Eng.
You probably have a split-tunnel VPN, so using local DNS is only resolving what 
external users can see.  Change your client to use the internal DNS server to 
have it resolve internal view hosts.

- Original Message -
> Hi Steve
> 
> this is the output commands:
> 
>   dig pc12.mydomain.com
> 
> ; <<>> DiG 9.6-ESV-R4 <<>> pc12.mydomain.com
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28662
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL:
> 0
> 
> ;; QUESTION SECTION:
> ;pc12.mydomain.com   IN  A
> 
> ;; AUTHORITY SECTION:
> mydomain.com 1800IN  SOA server.pc12.mydomain.com.
> hostmaster.pc12.mydomain.com. 2013070968 10800 3600 604800 3600
> 
> ;; Query time: 0 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Wed Jul 10 11:41:05 2013
> ;; MSG SIZE  rcvd: 113
> 
> nslookup pc12.mydomain.com
> Server: 127.0.0.1
> Address:127.0.0.1#53
> 
> ** server can't findpc12.mydomain.com: NXDOMAIN
> 
> Thanks for the advice, I got both commands for testing dns
> 
> 
> On 10/07/2013 11:39 AM, Steven Carr wrote:
> > On 10 July 2013 17:34, IT Support  wrote:
> >> I already add a address record on my internal view for that remote
> >> host, if
> >> I ping this host by IP address i got answer, but if i ping the
> >> same host by
> >> name i got this message:
> >> ping: unknown host
> >
> > In future please copy/paste the commands you have ran and the
> > output
> > so we can see the exact responses.
> >
> > What response do you get when you run a `dig` or `nslookup` for the
> > hostname? (Ping does not test DNS, it may attempt a DNS query but
> > it
> > does not fully test DNS). Did you try the FQDN of the host?
> >
> > Steve
> > ___
> > 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
> 
> ___
> 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
> 

-- 
Who: Lawrence K. Chen, P.Eng. - W0LKC - Senior Unix Systems Administrator
For: Enterprise Server Technologies (EST) -- & SafeZone Ally
Snail: Computing and Telecommunications Services (CTS)
Kansas State University, 109 East Stadium, Manhattan, KS 66506-3102
Phone: (785) 532-4916 - Fax: (785) 532-3515 - Email: lkc...@ksu.edu
Web: http://www-personal.ksu.edu/~lkchen - Where: 11 Hale Library
___
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


Re: DNS and Remote Host over VPN

2013-07-10 Thread Steven Carr
On 10 July 2013 17:54, IT Support  wrote:
> ** server can't findpc12.mydomain.com: NXDOMAIN

So according to BIND the record doesn't exist. Did you reload BIND after
adding the record? check the entry you have added into the zone and check
the log files to make sure BIND loads the zone properly.

Can you post what you added to the zone and the zone header?

Steve
___
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

RE: DNS and Remote Host over VPN

2013-07-10 Thread Gary Gladney
You can give  "A" record any IP address whether it's in your network or not.  
What you can't give it PTR record not in your network.

Gary

From: bind-users-bounces+gladney=stsci@lists.isc.org 
[mailto:bind-users-bounces+gladney=stsci@lists.isc.org] On Behalf Of IT 
Support
Sent: Wednesday, July 10, 2013 12:35 PM
To: bind-users@lists.isc.org
Subject: DNS and Remote Host over VPN

Hi brothers

I have a question about dns Address record, I´m running Bind9 over d ebian, and 
 I wonder if is posible to add address record for a remote host? this remote 
host i reach it by a site to site vpn,
this is my scenario

-dns server 192.168.10.100
-remote host 172.28.15.34

I already add a address record on my internal view for that remote host, if I 
ping this host by IP address i got answer, but if i ping the same host by name 
i got this message:
ping: unknown host

Thanks in advance.
Cheers.

Jah Love.
___
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

Re: DNS and Remote Host over VPN

2013-07-10 Thread IT Support

Hi Steve

this is the output commands:

 dig pc12.mydomain.com

; <<>> DiG 9.6-ESV-R4 <<>> pc12.mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28662
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;pc12.mydomain.com   IN  A

;; AUTHORITY SECTION:
mydomain.com 1800IN  SOA server.pc12.mydomain.com. 
hostmaster.pc12.mydomain.com. 2013070968 10800 3600 604800 3600


;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jul 10 11:41:05 2013
;; MSG SIZE  rcvd: 113

nslookup pc12.mydomain.com
Server: 127.0.0.1
Address:127.0.0.1#53

** server can't findpc12.mydomain.com: NXDOMAIN

Thanks for the advice, I got both commands for testing dns


On 10/07/2013 11:39 AM, Steven Carr wrote:

On 10 July 2013 17:34, IT Support  wrote:

I already add a address record on my internal view for that remote host, if
I ping this host by IP address i got answer, but if i ping the same host by
name i got this message:
ping: unknown host


In future please copy/paste the commands you have ran and the output
so we can see the exact responses.

What response do you get when you run a `dig` or `nslookup` for the
hostname? (Ping does not test DNS, it may attempt a DNS query but it
does not fully test DNS). Did you try the FQDN of the host?

Steve
___
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


___
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


Re: DNS and Remote Host over VPN

2013-07-10 Thread Steven Carr
On 10 July 2013 17:34, IT Support  wrote:
> I already add a address record on my internal view for that remote host, if
> I ping this host by IP address i got answer, but if i ping the same host by
> name i got this message:
> ping: unknown host


In future please copy/paste the commands you have ran and the output
so we can see the exact responses.

What response do you get when you run a `dig` or `nslookup` for the
hostname? (Ping does not test DNS, it may attempt a DNS query but it
does not fully test DNS). Did you try the FQDN of the host?

Steve
___
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


DNS and Remote Host over VPN

2013-07-10 Thread IT Support

Hi brothers

I have a question about dns Address record, I´m running Bind9 over d 
ebian, and  I wonder if is posible to add address record for a remote 
host? this remote host i reach it by a site to site vpn,

this is my scenario

-dns server 192.168.10.100
-remote host 172.28.15.34

I already add a address record on my internal view for that remote host, 
if I ping this host by IP address i got answer, but if i ping the same 
host by name i got this message:

ping: unknown host

Thanks in advance.
Cheers.

Jah Love.

___
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