Split DNS issue in 1.6.0 - resolved in 1.6.2

Got a problem with Viscosity or need help? Ask here!

btherl

Posts: 7
Joined: Thu Dec 12, 2013 11:01 am

Post by btherl » Thu Feb 18, 2016 1:40 pm
Hi,

I am using Windows 10, I recently updated to Viscosity 1.6.0 (1415) and had the Split DNS feature enabled automatically. Previously my connection was using VPN DNS for all resolution, which worked.

Now the setup is like this:

DNS set to Split, Report Follows:
Server - 192.168.0.17:53; Lookup Type - Split; Domains - dev., trellian.com.
Server - 192.168.0.18:53; Lookup Type - Split; Domains - dev., trellian.com.
Server - 192.168.168.138:53; Lookup Type - Any; Domains - gateway.
Server - 192.168.168.138:53; Lookup Type - Any; Domains - gateway.

What I want is for everything ending in ".dev" and ".trellian.com" to be resolved with the VPN DNS, and all others to go to my local network DNS. What I'm seeing is the IP 127.0.53.53 returned for all domains ending with ".dev", such as http://www.test.com.brian.dev. Using nslookup to resolve directly against the VPN DNS gives the expected IP address.

trellian.com domains are working normally, no issues there. Just dev domains.

As a workaround I am using the "Full DNS" setting, and this works as before.

192.168.0/24 is on the other side of the VPN, and 192.168.168/24 is my home network.

Let me know what additional information you need.

Thanks,
Brian
Last edited by btherl on Fri Mar 18, 2016 7:12 am, edited 1 time in total.

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Thu Feb 18, 2016 2:59 pm
Hi betherl,

Domains will only generally match with one extra octet. For example, if you have a domain of dev, only domains like example.dev will match. If you want something like www.test.com.brian.dev to match, you will need to set a domain of test.com.brian.dev.

Regards,
Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

btherl

Posts: 7
Joined: Thu Dec 12, 2013 11:01 am

Post by btherl » Thu Feb 18, 2016 3:49 pm
Hi Eric ,

Thankyou, that's clear and a very prompt reply :)

Would you be able to implement a *.dev option in future to do the kind of matching we're looking for? It would send everything ending in ".dev" to the VPN DNS.

Thankyou,
Brian

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Thu Feb 18, 2016 3:50 pm
Hi Brian,

We can certainly look into it.

Regards,
Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

woodiwiss

Posts: 5
Joined: Wed Feb 17, 2016 10:29 pm

Post by woodiwiss » Thu Feb 18, 2016 10:05 pm
I would second this request for *.domain.com resolving everything ending in .domain.com with the vpns dns server.

Thanks Pete

mrbalky

Posts: 1
Joined: Thu Feb 18, 2016 11:56 pm

Post by mrbalky » Fri Feb 19, 2016 12:01 am
I'd like to second Brian's request. We use many many subdomains at work dev.foo.net, pr.den.foo.net, pr.sjc.foo.net, staging.den.foo.net, etc. It's painful to enter them all, and I am sure to forget one until it doesn't work during a firefight.

Thanks!
Charlie

btherl

Posts: 7
Joined: Thu Dec 12, 2013 11:01 am

Post by btherl » Fri Mar 18, 2016 6:51 am
From the 1.6.2 notes - "Split DNS will now match multi-label subdomains"

I'm excited :) Will be trying this later today.

Thankyou,
Brian

btherl

Posts: 7
Joined: Thu Dec 12, 2013 11:01 am

Post by btherl » Fri Mar 18, 2016 7:10 am
Success! I'm seeing domains under ".dev" resolved through the VPN DNS, and other domains are resolving through the normal DNS.

Thankyou very much for implementing this!

Brian

rps

Posts: 11
Joined: Wed Mar 18, 2015 5:05 am

Post by rps » Sat Mar 26, 2016 12:50 am
Just to clarify before I change things, does this mean pushing domain.com will now have anything.domain.com (1), anything.anything.domain.com (2), anything.anything.anything.domain.com (3) and beyond use the VPN DNS servers in Split DNS mode?

Or is it still limited to one or two sub-domains?

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Tue Mar 29, 2016 9:08 am
Hi rps,

It is the former. Any number of subdomain labels will now match a domain.

Regards,
Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
10 posts Page 1 of 1