Slashdot Mirror


Dealing With ISPs That Use NXDomain Redirection?

Vrtigo1 writes "I work for a small company that has about 50 staff on the road relying on VPN back to our office at any given time. Many ISPs have implemented NXDomain redirection services that hijack DNS traffic to show you sponsored links and other related ads when you mistype a domain name. These services are incompatible with most VPN software, since they prevent the computer from resolving internal hostnames. Large ISPs typically provide an opt-out on their sponsored links page that immediately opts you out of the DNS redirection, but I've noticed that some smaller ISPs and CLECs have opt-out links that don't actually appear to do anything. I don't have a good solution for employees using these ISPs, and our employees are getting frustrated because the problem is becoming more prevalent and we can't fix it for them. I've tried calling a few of these smaller ISPs for help, but it's been like talking to a wall. Manually changing DNS servers works temporarily, but the user can't resolve internal hostnames when they connect to the office LAN again. Have you had to deal with ISPs using non-standard DNS servers? What is your solution?"

264 comments

  1. This is an easy one. by snarfies · · Score: 4, Insightful

    If the small local ISP is screwing up, and refuses to respond in any useful way despite your best repeated efforts, it sounds like its time to take your business elsewhere, maybe to one of those large ISPs you mentioned. And make sure you tell them WHY. Who know, maybe the threat alone will be enough to get them to make a sudden change in policy for you, with a month or two of free service to boot.

    1. Re:This is an easy one. by internerdj · · Score: 4, Insightful

      This guy sounds like a manager or IT worker who is having problems with his employees connecting to the work VPN. He isn't the one paying the bill(directly at least), so he doesn't even have the clout of a paying customer...

    2. Re:This is an easy one. by Anonymous Coward · · Score: 0

      If the small local ISP is screwing up, and refuses to respond in any useful way despite your best repeated efforts, it sounds like its time to take your business elsewhere, maybe to one of those large ISPs you mentioned. And make sure you tell them WHY. Who know, maybe the threat alone will be enough to get them to make a sudden change in policy for you, with a month or two of free service to boot.

      Congrats on being clueless. The ISP is not going to process internal DNS requests. This is simply a question missing information or a mis-configured VPN.

    3. Re:This is an easy one. by Z00L00K · · Score: 1

      Good luck in finding an ISP that doesn't screw up the DNS in some way.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    4. Re:This is an easy one. by TheLink · · Score: 5, Insightful

      Actually, the VPN config is insecure (screwed up?) - when you are using the VPN the DNS requests should be going through the VPN tunnel, and not in plaintext to the ISP.

      --
    5. Re:This is an easy one. by hey · · Score: 2, Informative

      Good point. They should thank the ISP for this alert.

    6. Re:This is an easy one. by RollingThunder · · Score: 1

      Exactly. When I connect (using Checkpoint, but most other VPN software will do it as well) it changes the resolver configs on my system so that now I'm using the internal company DNS.

      If his VPN solution doesn't offer this to him, he needs to get one that does.

    7. Re:This is an easy one. by IceCreamGuy · · Score: 4, Informative
      You are referring to what is known as "Split Tunneling;" which is a legitimate, albeit less secure, VPN configuration. Basically when split tunneling is enabled the client workstation's default gateway is still it's local gateway and DNS requests get routed by the client to the appropriate DNS server, whereas in a non-split tunnel the default gateway is the remote gateway (which obviously has no way of routing to the local network) and all DNS requests go encrypted through that. There are several reasons someone would want to do this:
      • You need people to access their local printers/network resources and don't have some kind of pass-through ability
      • You have limited bandwidth at your remote site and cannot handle the Internet usage that would be NATed through
      • Your gateway does not support NAT on VPN tunnels and your clients need Internet access
      • You don't realize what you're doing

      Either way, what I do when I have some kind of weird situation where a user needs to change their TCP/IP config routinely is just put a couple shortcuts with pretty icons on their desktop that point to batch scripts that run a netsh script. You should be able to completely change an IP configuration on a Windows box with this utility, the user just runs "home.bat" when they're home and then "office.bat" when in the office. A Google for "netsh exec" should give enough info to get started.

    8. Re:This is an easy one. by ChaosDiscord · · Score: 1

      I suspect many people don't have a choice. Of the two broadband providers who serve me, all three do this. The local cable company (Charter) turned it on. When their tech support proved unable to even understand my complaint, let alone fix it, I bailed. Months later the new company (TDS Telecom) started doing it. At least their tech support understood me, but they were unable to turn it off. Sure, I can use OpenDNS, or pinch DNS service from elsewhere, but providing functional DNS is a reasonable baseline of service. Welcome to the race to bottom of quality, thanks to the "free" market.

    9. Re:This is an easy one. by Anonymous Coward · · Score: 0

      Not all VPNs have clients. There are some "clientless" VPNs that are all https based. This is done to get around ISP that don't support VPN claiming you need to "upgrade" to get the VPN support. Basically though it seams like they just drop your connection randomly causing you to have to reconnect every two seconds...lol.

      At any rate with clientless vpns such like f5 networks provides the DNS is still on the client or rather client less side.

    10. Re:This is an easy one. by vlm · · Score: 1

      apt-get install bind9
      echo nameserver 127.0.0.1 > /etc/resolv.conf

      Trivial, takes about two minutes, easily scriptable, blah blah

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    11. Re:This is an easy one. by theyulman · · Score: 1

      I agree with running your own DNS server

    12. Re:This is an easy one. by Malc · · Score: 1

      This also makes a lot of sense if you're a long way away from the VPN end-point at the corporate network. Yes, it is a little less secure, but probably a reasonable compromise. We have people who VPN in to the corporate network in California from Australia, China and Europe. There's no need to route all internet traffic over the VPN as it adds hundreds of ms of unneeded latency. All DNS should go over the VPN, which still seems to give poor results for DNS lookups that attempt to return IP addresses to local servers (maybe something like Akamai?). DNS should always go over the VPN whatever though.

    13. Re:This is an easy one. by Z00L00K · · Score: 1

      Unfortunately you will have to address forwarders too for access to the world and then you are toast again.

      Unless you have your own directory or can find an open DNS that isn't messed with.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    14. Re:This is an easy one. by ei4anb · · Score: 1

      If he needs Split Tunneling to access local resources or do web surfing outside the VPN then he can use a reliable external DNS like 4.2.2.2 instead of his (small) ISP DNS.

    15. Re:This is an easy one. by bruce_the_loon · · Score: 1

      Just load the latest root servers and do all recursion yourself. Never met an ISP that blocks that sort of thing at the wire level.

      Bit more traffic, but full control.

      --
      Trying to become famous by taking photos. Visit my homepage please.
    16. Re:This is an easy one. by Kalriath · · Score: 1

      Read this comment from an hour before your post - don't use or advocate using Level3's DNS server.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    17. Re:This is an easy one. by Kalriath · · Score: 1

      No, they still have a client. Clients like Array Networks and F5 Networks use a Java or ActiveX applet to install the necessary services and programs on the computer, but there is still a client, just as much as Cisco or Sonicwall - and for those ones they almost always disable split tunnelling too.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    18. Re:This is an easy one. by Kalriath · · Score: 1

      OpenDNS does the same thing.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    19. Re:This is an easy one. by Eil · · Score: 1

      If the small local ISP is screwing up, and refuses to respond in any useful way despite your best repeated efforts, it sounds like its time to take your business elsewhere, maybe to one of those large ISPs you mentioned.

      The only problem is that more large ISPs are doing this than small ones. Large ISPs have teams of executives with nothing better to do than sit around and figure out how else to further screw their customers. Small ISPs are generally too busy trying to keep their infrastructure online for an extended period of time.

    20. Re:This is an easy one. by causality · · Score: 1

      I suspect many people don't have a choice. Of the two broadband providers who serve me, all three do this. The local cable company (Charter) turned it on. When their tech support proved unable to even understand my complaint, let alone fix it, I bailed. Months later the new company (TDS Telecom) started doing it. At least their tech support understood me, but they were unable to turn it off. Sure, I can use OpenDNS, or pinch DNS service from elsewhere, but providing functional DNS is a reasonable baseline of service. Welcome to the race to bottom of quality, thanks to the "free" market.

      I've been very happy running my own local, caching DNS server. It communicates directly with the root DNS servers, no middleman required. It's also noticably faster for normal Web browsing because there is less latency when a lookup must be performed and effectively zero latency when a result has already been cached. I've been doing this for years and years, before anyone (to my knowledge anyway) decided that hijacking DNS queries was ever a desirable business practice (it isn't).

      What follows is my opinion, though it's an informed one. The only thing I'd strongly recommend is to avoid using BIND. It has a terrible security history, comparable to that of Sendmail, which is fitting since both hail from an era before the Internet was considered a hostile network. The recent rewrite of BIND doesn't seem to have done much to change that. I used to use djbdns but I've switched to maradns and have been extremely satisfied with it. It's small, lean, secure, and generally it does everything I want it to do and nothing that I don't want it to do.

      When ISPs overstep their bounds and start hijacking traffic when I have neither asked them to do so nor want them to do so, my answer is simple. Please pardon how I put this, but to them I say "fuck that" and run my own. I'd recommend this approach to anybody, and not just because I believe that relative independence is a virtue.

      --
      It is a miracle that curiosity survives formal education. - Einstein
    21. Re:This is an easy one. by umeboshi · · Score: 1

      Never met an ISP that blocks that sort of thing at the wire level.

      That's what scares me. Not so much the blocking, but a transparent routing of outgoing port 53 traffic to the ISP's dns server.

      Just two days ago, I saw where my ISP's dns wasn't able to resolve a few domains. I switched back to the root servers and haven't had a problem.

    22. Re:This is an easy one. by WTF+Chuck · · Score: 1

      If the small local ISP is screwing up, and refuses to respond in any useful way despite your best repeated efforts, it sounds like its time to take your business elsewhere, maybe to one of those large ISPs you mentioned.

      The only problem is that more large ISPs are doing this than small ones. Large ISPs have teams of executives with nothing better to do than sit around and figure out how else to further screw their customers. Small ISPs are generally too busy trying to keep their infrastructure online for an extended period of time.

      Despite what their ads say, the goal of a large corporation is to make the shareholders happy by having steadily increasing profits. They do this by providing "bigger, better, faster", by cutting costs, and by finding additional revenue streams. Unfortunately, this often screws the customer, and in a virtual monopoly, the execs could care less about that.

      Forget "bigger, better, faster" in the US because there is virtually no competition and they don't want to spend money on infrastructure upgrades when their customers are already chained to them with no hope of escape.

      Cutting costs, well, I for one have a much easier time understanding heavy Indian accents than I did a few years ago.

      Finding additional revenue streams, yep that US$0.001 per mis-typed domain name adds up quick when you are looking at 100s of thousands of them per day. The truly clueless will be thankful that the ISP is providing this "service". The average user will be slightly annoyed at worst, but most likely won't care. The rest of us will just start running our own DNS servers, and skip using our ISP's DNS servers all together.

      I started running my own DNS servers years ago when mt ISP's DNS servers were becoming non-responsive. Much better response times, and no unwanted redirect crap.

      --
      Note - Liberal use of <sarcasm> tags may or may not need to be applied.
    23. Re:This is an easy one. by complete+loony · · Score: 1

      Nope, but it's easy enough to fix on the client side.

      In XP, you'd open the advanced TCP/IP Settings from the network properties of you VPN connection, set the "Append these DNS Suffixes (in order)" or "DNS Suffix for this connection" to your work domain name(s). Done.

      Then whenever the VPN is connected and the client tries to use a bare hostname, the work DNS server will be checked before the ISP's.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    24. Re:This is an easy one. by mcvos · · Score: 1

      Even so, he can stop supporting users of bad ISPs and encourage them to switch to a proper one. If the users are being frustrated by their own ISP, they need to leave.

    25. Re:This is an easy one. by n8ouz · · Score: 0

      This is exactly correct.

      It's part of my job's necessity to test things.

      Bad DNS records for the purposes of advertising (paxfire, etc) make this impossible.

      Since I am both oncall and use my home node as an 'outside' test vantage point, it was an issue.

      I complained to Charter Communications numerous times with no resolution.

      Finally, I gave them the finger and had AT&T install DSL with no phone service. It's cheaper and... as a bonus, unlike Charter, my modem didn't mysteriously reboot with a new IP bi-weekly, and didn't suffer random outages at unhandy periods of time.

      And people wonder why they're going bankrupt! :)

      -jre

      --
      -jre
  2. Provide your own DNS? by QuantumRiff · · Score: 5, Informative

    Last time I setup a VPN, was with a Cisco PIX firewall, (its been awhile) but there was a spot to specify which DNS servers to use when connected to the VPN. I had specified that when connected, they would use our DNS, since they otherwise couldn't resolve \\file-server\share or whatever..

    --

    What are we going to do tonight Brain?
    1. Re:Provide your own DNS? by nine-times · · Score: 5, Informative

      Yeah, honestly I'm a little confused by the question. If you want to use DNS to connect to internal servers via VPN, then don't you want to route your DNS traffic through the tunnel to use internal DNS servers? And once you're doing that, how could the ISP possibly hijack that DNS traffic? It's encrypted.

    2. Re:Provide your own DNS? by Bandman · · Score: 5, Insightful

      You're right. It all boils down to misconfigured VPN

    3. Re:Provide your own DNS? by flajann · · Score: 1

      Yeah, honestly I'm a little confused by the question. If you want to use DNS to connect to internal servers via VPN, then don't you want to route your DNS traffic through the tunnel to use internal DNS servers? And once you're doing that, how could the ISP possibly hijack that DNS traffic? It's encrypted.

      It may be that the list of DNSes for the computer to check starts with ISP DNS first, then if that fails it next tries the VPN's DNS.

      Of course, if the ISP is hijacking lookups instead of letting them fail, that's going to screw everything up.

      Verizon and FairPoint does this. Alas, there's no other option I know of that can beat the fibre-optics to the last mile. But at least the aformentioned provides an opt-out DNS server to use. Good luck getting it out of their tech support, as you will spend 10-15 minutes just explaining what the problem is. They are CLUELESS to the max.

      Ah, but this is the same company that can't tell the difference between .002 dollars and .002 cents....

    4. Re:Provide your own DNS? by pthisis · · Score: 1

      It may be that the list of DNSes for the computer to check starts with ISP DNS first, then if that fails it next tries the VPN's DNS.

      That's a misconfiguration. You can't route any internal traffic outside of the VPN. You're publicizing internal server names if you set it up that way.

      --
      rage, rage against the dying of the light
    5. Re:Provide your own DNS? by Punknubbins · · Score: 1

      Our VPN is set up as a realy, so our clients get handed DHCP leases with the DNS server and domain information included from an interal server. But occasionally we see a client who's machine will not honor the DNS servers given out by DHCP. So we us an internal subdomain (i.ourdomain.com) with all of the internal hosts listed there (like private.i.ourdomain.com). The NS record for the i.ourdomain.com subdomain points to an internal IP address so a user can only resolve internal hosts when connected to the VPN. So when a user tries to connect to an internal server across the vpn, DNS client follows the path (root servers->DNS server for ourdomain.com -> DNS server for i.ourdomain.com) to our internal dns server and then receives the correct internal IP address for the server. If they are not connected to to the VPN then they can't get resolution off of our internal servers and the lookup fails. This prevents us from having to publish internal DNS globally for clients that don't respect our DHCP load.

    6. Re:Provide your own DNS? by cenc · · Score: 1

      Honestly, I too don't understand the problem. In what world would you want to use your ISP DNS for a VPN or anything else for that matter. You should be running your own private DNS for all kinds of reasons, and they are fairly trivial to implement.

      Even the cheapest routers allow you to set the DNS server you use. Most have caching DNS of some sort built in.

    7. Re:Provide your own DNS? by nine-times · · Score: 1

      It may be that the list of DNSes for the computer to check starts with ISP DNS first, then if that fails it next tries the VPN's DNS.

      If the client computer is set up that way, that's the user's (or administrator's) fault. You can't really blame is ISP.

    8. Re:Provide your own DNS? by EvilBudMan · · Score: 1

      --Last time I setup a VPN, was with a Cisco PIX firewall,--

      They are still in use. I think they still make them. I know we have one and have not had that problem. I guess I just don't understand why it wouldn't work either.

    9. Re:Provide your own DNS? by jmkrtyuio · · Score: 1

      It may be that the list of DNSes for the computer to check starts with ISP DNS first, then if that fails it next tries the VPN's DNS.

      Sorry, you dont try the next dns server if the first one responds, only if it does not respond at all.

  3. Open DNS?? by Anonymous Coward · · Score: 0

    Have you tried Open DNS, I have used it for years with great results. If you are actually signed in and not just using there DNS server entries in TCP it miiiiiiiight get you around your problem.

    1. Re:Open DNS?? by omnichad · · Score: 1

      They have their own NXDomain pages. So you have to sign up for a login account in order to disable that feature. And then when you're mobile on a laptop, your dynamic ip address will cause you constant headaches.

    2. Re:Open DNS?? by Volante3192 · · Score: 0, Redundant

      OpenDNS also redirects google searches to their own site. www.google.com was broken for me until I took OpenDNS out of my list.

      What I'd love is my own DNS Server but I can't find one free for XP anywhere...

    3. Re:Open DNS?? by tagno25 · · Score: 1

      Try named via Cygwin if you must use Windows.

    4. Re:Open DNS?? by egcagrac0 · · Score: 2, Funny

      What I'd love is my own DNS Server but I can't find one free for XP anywhere...

      I think it's called linux. (Also, see VirtualBox or VMware server).

    5. Re:Open DNS?? by Anonymous Coward · · Score: 0

      http://www.ubuntu.com/products/whatisubuntu/serveredition

    6. Re:Open DNS?? by Anonymous Coward · · Score: 0

      >What I'd love is my own DNS Server but I can't find one free for XP anywhere...

      WTF ????
      https://www.isc.org/download/software/current

    7. Re:Open DNS?? by jmkrtyuio · · Score: 1

      isc.org bind9 has a nice windows port. You may have to create the named.conf yourself, havent checked recently.

    8. Re:Open DNS?? by Anonymous Coward · · Score: 0

      treewalk dns or maradns

    9. Re:Open DNS?? by Volante3192 · · Score: 1

      Hrm, no idea why I've never run across that before. Sometimes the Google-fu just fails. Thanks.

    10. Re:Open DNS?? by gzipped_tar · · Score: 1

      ddclient

      Not exactly secure though..

      --
      Colorless green Cthulhu waits dreaming furiously.
  4. 4.2.2.1 by Anonymous Coward · · Score: 0

    That is all.

    1. Re:4.2.2.1 by afidel · · Score: 2, Insightful

      Level 3's resolvers were VERY slow earlier this week, to the point where our IDS system noticed it. I've generally been glad to use them when an ISP screws up their DNS but it IS a free service and you can't expect great performance from it for that reason.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    2. Re:4.2.2.1 by sokoban · · Score: 1

      Yep, I have been having troubles with L3's DNS for about a week and a half now.

      As a result, I'm back on insightbb's crappy, crappy DNS.

      --
      09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 is the magic number.
    3. Re:4.2.2.1 by TooMuchToDo · · Score: 2, Interesting

      Level3 is in the process of ACLing off 4.2.2.1 from the world so only downstream transit customers can use it. Google the Outages mailing list.

    4. Re:4.2.2.1 by TooMuchToDo · · Score: 1

      Level3 is in the process of ACLing off 4.2.2.1 from the world so only downstream transit customers can use it. Google the Outages mailing list for more info.

    5. Re:4.2.2.1 by Anonymous Coward · · Score: 0

      what Outages mailing list?

  5. Change VPN settings . . . by val123456 · · Score: 5, Insightful

    to force use of internal DNS servers while connected.

    Done.

    1. Re:Change VPN settings . . . by KevMar · · Score: 2, Insightful

      I guess I did not know there was an option not to use the internal servers.

      Our unit has its own domain and dns servers. The zone does get replicated to the central dns servers, but we have to use the Fully Qualified Domain Name of our servers when on computers outside our unit.

      Have the users try the full name of the server and see if that helps.

      --
      Im a gamer, not a grammer major. This post is full of spelling and grammer mistakes.
    2. Re:Change VPN settings . . . by Endloser · · Score: 0

      I second that motion. If you still have issues, you can set up shares by IP address and leave a nice little shortcut on your end-loser's desktop. "\\IP\share" should go in the location part of the shortcut (for Major$haft losers).

    3. Re:Change VPN settings . . . by Vrtigo1 · · Score: 2, Insightful

      We do configure internal DNS servers on the VPN profile (obviously), but we also split-tunnel since we don't want to push all traffic over the VPN (only traffic destined for the internal LAN). If you do an ipconfig/all, it lists both the ISP and internal DNS servers. Normally this works fine because the ISP's DNS server will return an invalid hostname response and the client will query the internal DNS server.

    4. Re:Change VPN settings . . . by lucifuge31337 · · Score: 1

      Exactly what I came here to say. Your VPN config is broken. Your IT department is doing it wrong. Even without the NXDomain, you wouldn't get there. I'm not sure how you think this has anything to do with your problem. The only way it would work without NXDomain crap would be if you someone has your corp DNS servers inserted AFTER whatever DNS server you got in DHCP from the ISP and waited around for 2 or 3 timeouts before it got to yours. And even then its not going to be 100% consistent behavior depending on the OS and the first DNS servers it hits.

      --
      Do not fold, spindle or mutilate.
    5. Re:Change VPN settings . . . by complete+loony · · Score: 1

      Or put the DNS suffix in their advanced network settings.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    6. Re:Change VPN settings . . . by Anonymous Coward · · Score: 0

      Set the primary dns to your internal dns server without changing secondary to be the ISP provided dns. This allows split tunnelling to occur with the benefit of looking at YOUR dns server first.

      Although, I do agree split tunneling is not the best way to do this especially if you have sensitive customer data on your network.

      Also, Most VPN clients will allow the VPN profile to set dns servers.

  6. Use Full Tunnels by Bandman · · Score: 5, Informative

    If you're splitting your connection between a VPN tunnel and a non-VPN protected internet connection, you're a security risk to your infrastructure.

    Have your administrator configure full tunnel support where ALL of your traffic goes through the encrypted tunnel. That solves a security problem AND it fixes your DNS problem because you don't use your local internet provider's DNS servers.

    1. Re:Use Full Tunnels by L0stm4n · · Score: 5, Informative

      This is called split tunneling. If he disables split tunneling and specifies the DNS servers in the VPN config his problems would go away.

      His users however would tunnel all their traffic through the corporate lan while connected so you may need to setup some kind of filtering or route the traffic through whatever filters you already have. Otherwise these remote workers in hotel rooms will be pulling buckets-o-pr0n through your corp network.

      --
      superman runs linux
    2. Re:Use Full Tunnels by Bandman · · Score: 2, Informative

      But that's only a problem when they're connected to the VPN. Don't surf porn while on the VPN, don't get fired. Win/Win

      Just disconnect to download your porn and you're good.

    3. Re:Use Full Tunnels by jobugeek · · Score: 1

      This is true and I every time I set up of a VPN for someone I mention this. That said, for many people, they are likely VPN'd in order to access certain files while needing access to the internet. Browsing through most company VPN connections is painfully slow and inefficient.

      --
      I'm not drunk, I just have a speech impediment. And a stomach virus. And an inner ear infection.
    4. Re:Use Full Tunnels by Anonymous Coward · · Score: 0

      It'll also likely cut the connection speed in half and make any interactive server-run apps unusable due to latency. (been there, done that)

    5. Re:Use Full Tunnels by oolon · · Score: 2, Insightful

      The down side of this is people cannot use their local printers/file servers. I find it really annoying having to reverse tunnel out of corporate VPNs to get access to my local systems. Clearly as others have said any VPN client should change the DNS settings to use the internal DNS before any external one, I didn't know some didn't.

    6. Re:Use Full Tunnels by Bandman · · Score: 1

      Actually, it shouldn't slow down the internal stuff at all, since it was going over the same link as before. His internet browsing will go a lot slower, but he can disconnect from the VPN for personal browsing.

    7. Re:Use Full Tunnels by Bandman · · Score: 1

      That's true, but with a "secure" VPN connection, not being able to use local resources would be considered a plus.

      Of course, "secure" is always a sliding scale.

    8. Re:Use Full Tunnels by oolon · · Score: 1

      The Cisco VPN client implements a full tunnel mode rather well, however I did notice the one thing it didn't block was "DHCP" broadcasts, I wrote a proof of concept to see if I could signal over it, I was intending to write a full tunnel, but ended up finding it easier to virtualise the laptop, then tunnel over a serial connection to escape from the jail.

    9. Re:Use Full Tunnels by TheLink · · Score: 1

      "His users however would tunnel all their traffic through the corporate lan while connected"

      This is not a problem. This is how it should be.

      VPN = Virtual Private Network.

      It's not private if your traffic leaks out to somewhere else.

      When you use your office VPN, you should use it for work related stuff only. If you want to do personal stuff (e.g. download non-work-related porn, MP3s), don't use the office VPN.

      --
    10. Re:Use Full Tunnels by Reece400 · · Score: 1

      OTOH while slow, their internet traffic is then filtered/scanned by AV(if applicable) as it would be when they are in the office.

    11. Re:Use Full Tunnels by netcrusher88 · · Score: 1

      Split tunneling is a pretty trivial risk. Your typical home computer doesn't do forwarding (not to mention nothing would know how to route) and if the box is a zombie, it's a zombie - not talking to the C&C servers directly instead of via the corpnet isn't going to impair the bot software.

      Split tunneling has nothing to do with the DNS issue. Configuring internal DNS servers is 100% solid if not essential advice for any VPN.

      --
      There's an old saying that says pretty much whatever you want it to.
    12. Re:Use Full Tunnels by Capt.DrumkenBum · · Score: 1

      How do you tell the difference between work related and non work related porn?

      --
      If I were God, wouldn't I protect my churches from acts of me?
    13. Re:Use Full Tunnels by Bandman · · Score: 1

      Assuming you have a VPN client (or are using an SSL VPN which is "Clientless" (big lie)) then only that computer's traffic is sent over the VPN.

      If, on the other hand, you have a VPN device that you plug in in front of (or behind) your broadband router, all of your connection's traffic will be going to the VPN. That's just as (if not more) insecure as a partial tunnel.

    14. Re:Use Full Tunnels by jobugeek · · Score: 1

      Yes, but one would hope that any company allowing said laptop to connect to their company VPN has local policies/software in order to minimize the infection risk. Yes, split tunneling is a larger security risk, but those risks can be mitigated.

      --
      I'm not drunk, I just have a speech impediment. And a stomach virus. And an inner ear infection.
    15. Re:Use Full Tunnels by dennypayne · · Score: 1

      And what do you do when it's the CEO that keeps calling up saying he wants to be able to connect to YouTube while he's on the VPN and it's too slow?

      Forcing all traffic through the tunnel may be ideal, but in the Real World(tm) split tunneling is often the only option.

      --
      Erecting the wall of separation between church and state is absolutely essential in a free society. - Thomas Jefferson
    16. Re:Use Full Tunnels by Grishnakh · · Score: 1

      They should just set up some really draconian rules for VPN users regarding which websites they can surf. Basically, lock out all pr0n, and just about everything else popular too (Amazon, Ebay, news sites, slashdot, Facebook, etc.). Even if the popular sites are allowed for workers at the office, they should be disallowed for people on VPN. Instead, they can be redirected to a page telling them they're wasting company resources, and if they want to surf the web, to simply disconnect from the VPN and use their normal internet connection.

    17. Re:Use Full Tunnels by HermDog · · Score: 1

      When you use your office VPN, you should use it for work related stuff only. If you want to do personal stuff (e.g. download non-work-related porn, MP3s), don't use the office VPN.

      But my work-related porn, that I should download through the VPN.

      --
      JADBP
    18. Re:Use Full Tunnels by TheLink · · Score: 1

      If the company you are working for deals with porn, I'm sure you'd figure it out.

      --
    19. Re:Use Full Tunnels by TheLink · · Score: 1

      If your company doesn't deal with porn, then it's easy - no downloading of porn at all through the VPN.

      But if it does deal with porn, your company's yet to be released porn footage is likely to be company confidential.

      --
    20. Re:Use Full Tunnels by mattsim · · Score: 1

      Keep in mind that forcing all traffic through the VPN breaks the use of local resources, such as home printers, etc. It's a double edged sword.

    21. Re:Use Full Tunnels by roc97007 · · Score: 1

      Not that I condone buckets-o-pr0n in hotel rooms, but one way around this is for the user to tunnel from an instance running on their laptop. The instance is completely locked down by the VPN connection (assuming it's configured correctly), but the host computer is still free to rove the raw internet.

      I do this at home so I can still reach my local printers, media center, local shares, and "banned" websites like Facebook while logged into work.

      --
      Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
  7. Use the IP Address by Anonymous Coward · · Score: 0

    Enough Said

  8. story tag... by Anonymous Coward · · Score: 0

    Go to hell story tag. Fucking burn. I hate you.

    Sincerely, AC

  9. Split-horizon DNS by Dishwasha · · Score: 3, Informative
    1. Re:Split-horizon DNS by stickytar · · Score: 1

      Mod parent up. This is the solution. You should not be relying on external DNS to resolve internal IP assets.

      --
      believing the big bang requires a certain amount of supernatural faith
    2. Re:Split-horizon DNS by egcagrac0 · · Score: 1

      While interesting, That doesn't seem relevant to the solution.

      Many ISPs have configured their DNS servers (possibly using split-horizon techniques) so that when SOME of their customers do a query, rather than returning the appropriate NXDomain result (See RFC 1035, section 4.1.1 - RCODE 3), they return an address of a webserver which will typically accept all URLs and serve a "useful" search result page full of targetted spamvertising.

      This breaks a whole lot of things, like the integrated search functionality in certain web browsers.

      Apologies if I've missed your point. (I agree with many other posters - the Right Thing is to use only the internal DNS server (possibly configured as split-horizon) when the VPN link is active.)

    3. Re:Split-horizon DNS by Anonymous Coward · · Score: 0

      That would only apply if the domain record did not resolve, but using Split-horizon DNS, you would always resolve a domain record therefore NXDomain would never kick in. When you're inside your organization you get a private IP address and when you're outside your organization you get a public IP address.

      The only way this wouldn't work is if they weren't using a valid FQDN for their zone. Easy way to solve that is create a seperate zone that is an FQDN that you use for your VPN host records both internally and externally.

    4. Re:Split-horizon DNS by Wowlapalooza · · Score: 1

      How does split-horizon help? Are you going to get the ISP to host a separate "horizon" of DNS on their servers? Please elaborate. If your solution involves repointing the resolver config on the client to something other than the ISP's nameservers, then why not just do that, and skip the "split horizon" mumbo-jumbo? That would be a simpler solution, no?

  10. OpenDNS? by Anonymous Coward · · Score: 0

    www.opendns.com

  11. About certain ISPs by Anonymous Coward · · Score: 0

    Cablevision was going to use NX DNS redirection but stopped because sometimes it interfered with businesses intranet. When he had it for its brief life- we had options to have it enabled or disabled.

  12. Fixed this problems for our windows users by Anonymous Coward · · Score: 0

    We had this exact problem for our Windows users. The solution was to force Windows to use our internal DNS server first when connected to the VPN. We accomplished this with a custom program that changed some registry and system values. Unfortunately I do not have the list of changes -- that was a lifetime ago.

  13. Easiest solution: Get them to change ISP. by Nick+Ives · · Score: 1

    Failing that...

    Why does manually changing DNS servers work only temporarily? Can't you just host a DNS server and give your employees the IP for that? It'd mean having to service DNS requests for all your employees private internet usage plus it might break some CDNs but it seems like the simplest solution.

    You could also loan employees suitable ADSL / cable routers that you configure, something with a decent small DNS server in it that you can configure to serve your intranet hostnames but defer to the users ISP for internet hosts. Obviously that's expensive though.

    --
    Nick
    1. Re:Easiest solution: Get them to change ISP. by Neil+Hodges · · Score: 1

      Failing that...

      Why does manually changing DNS servers work only temporarily

      Perhaps that's the reason cron exists: to make sure your DNS servers are reset to your preference despite DHCP mangling them.

    2. Re:Easiest solution: Get them to change ISP. by Bandman · · Score: 1

      The DNS thing is really just a symptom of the actual problem, that his VPN is misconfigured.

      You shouldn't be allowed to be directly connected to the internet at the same time you're directly connected to your VPN. It's exactly the same security risk as if he had a personal DSL line installed at his desk and was on both networks. If his machine is compromised, it can be spread to other trusted (or maybe if he's lucky, only semitrusted) machines.

      Full tunnels for the VPN will solve the problems.

    3. Re:Easiest solution: Get them to change ISP. by gd2shoe · · Score: 1

      You shouldn't be allowed to be directly connected to the internet at the same time you're directly connected to your VPN. It's exactly the same security risk as if he had a personal DSL line installed at his desk and was on both networks. If his machine is compromised, it can be spread to other trusted (or maybe if he's lucky, only semitrusted) machines.

      Full tunnels for the VPN will solve the problems.

      I see a whole bunch of people posting this, and I have to tell you that you're trading one security risk for another*.

      Yes, it's currently the same as having a connection to both networks at the same workstation.

      Forcing all employee traffic through the VPN is not a security solution, but much more akin to the laptop problem. They can be infected/compromised all day long while connected directly through the ISP (visiting "bad" sites, downloading malware infected freeware, whatever). Once connected to the VPN, all that bad stuff suddenly has access.

      Yes, this is a lesser risk. It prevents real-time attacks. Still, the potential consequences are equal. Don't fool yourselves into thinking that this is a security fix. It's not.

      (*presupposing that they are permitted to use the computer on their normal Internet connection while not "at work". You didn't say that explicitly, but others here have. We have no indication that these are work provided computers and work supplied Internet connections, so it is a reasonable assumption that these machines will go online directly.)

      --
      I won't join Slashcott. OTOH, If Beta goes live, I just won't be back until it's fixed. Sorry Dice.
    4. Re:Easiest solution: Get them to change ISP. by PitaBred · · Score: 1

      So... connect to the VPN for a netmeeting, then disconnect to go to youtube, then reconnect to get a small file, then disconnect to let your internet radio station start back up, then reconnect...

      Split tunneling is not a huge security risk if your network is properly set up. And it will save your company a fuckton of bandwidth. Don't tell me you implicitly trust anything that happens to be plugged into your network, do you? What if an employee brings his laptop home and gets a virus, and then plugs in the next day? Boom, just as boned as if you were on the "wild" Internet and VPN simultaneously. If you protect yourself from that situation, what exactly is the difference between the split VPN and the user having a laptop, then?

  14. Poor man's solution by davidwr · · Score: 1

    Other people have better solutions but a quick-and-dirty solution is to hardcode internal addresses in a host file. I won't guarantee this works in every environment though, and it's not a maintainable solution.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:Poor man's solution by TCM · · Score: 1

      Then don't even do/suggest it.

      Quick and dirty only gets dirtier and wastes the time you saved upfront and more later on.

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
  15. Not sure if I understand this... by Anonymous Coward · · Score: 0

    How are VPN users using an external DNS server to resolve internal host names in the first place?

    There is a lot of information missing in this question and it seems to be a simple case of setting DNS to an internal DNS server via the VPN end-point.

  16. Our Solution by AndGodSed · · Score: 1

    Our Company webserver and mailservers serve as DNS servers as well.

    There are four in total. We are an ISP, but we are dependant on a larger backbone - so we registered our own DNS servers.

    Also, DHCP on the lan with your own DNS server on LAN side should be fine, and you can also edit the hosts file if all else fails. We have a few (Vista) laptops where we needed to hardconfig LAN side server addresses in the hosts file - but I suspect this has less to do with nxdomain problems than with a larger config issue between Win2003serv and Vista.

  17. Stop filtering your DNS, or run a local cache. by mellon · · Score: 3, Insightful

    What's the benefit of blocking your internal DNS? You're firewalled off, or they wouldn't need the VPN. What's going on here is that you're doing something broken - you must have some kind of NXDOMAIN redirector running on the remote machine, and the ISP is doing something wrong, because its NXDOMAIN redirector is fooling your NXDOMAIN redirector. If you just follow the standards, the fact that they have a broken NXDOMAIN redirector wouldn't affect you.

    Another option is to set up a DNS resolver that's reachable from outside your network, and also inside your network, but only answers for your internal names if the query comes from inside. Then configure all your VPN machines to always use that nameserver, and not use your ISP's nameserver.

    Even if your ISP filters DNS and answers in place of your nameserver, you're okay, because as soon as the VPN is set up, all the queries will go across the VPN (since this server is on your local network). At that point you'll start getting answers for local domains because now the query is coming from a local (VPN) IP address.

    This second solution is a bit more work, and of course being a DNS geek I'm biased toward just doing the right thing in the first place, so I recommend just opening up your DNS, but either way ought to work.

    1. Re:Stop filtering your DNS, or run a local cache. by Anonymous Coward · · Score: 0

      Another option is to set up a DNS resolver that's reachable from outside your network, and also inside your network, but only answers for your internal names if the query comes from inside. Then configure all your VPN machines to always use that nameserver, and not use your ISP's nameserver.

      Isn't this the biggest No-No or did I just misread the post? I would get fired for this sort of config!!!!

  18. What small ISPs? by bzzfzz · · Score: 5, Funny

    There are still small ISPs left where you live?

    1. Re:What small ISPs? by RobertM1968 · · Score: 1

      I was going to laugh because this is probably true for most people in the US... then I realized that this wasnt funny because this is probably true for most people in the US. I think we need a "Sadly, humorously, funny" Mod...

    2. Re:What small ISPs? by MobyDisk · · Score: 1

      This is modded funny, but it really is true. Everyone I know uses either their phone company, or their cable company. Do 3rd-party ISPs even exist any longer?

  19. hosts file? by _bug_ · · Score: 1

    Would hard-coded IP addresses to a hosts file work?

    1. Re:hosts file? by jimicus · · Score: 1

      My employer used to do that and believe me, you do NOT want to do that.

      DNS was invented for a reason.

  20. Plenty of other DNS options... by RobertM1968 · · Score: 1

    You can run your own DNS servers... (this opens a lot of other possibilities for it's use as well - such as blocking certain sites at the DNS level, or setting up local domain entries for your internal network (without the expense of registering a domain name or three): just make sure you dont set such up using a real, existing domain name that you may at some time want to visit.

    A Linux box with BIND or similar can be a cheap, old box and perform fantastically in this respect. An OS/2 box (if you've got some OS/2 disks or buy a copy of Warp 4 from eBay) can also be a cheap, and ancient box and perform amazingly (you dont need more than a P90 with 64MB RAM - I know... I did this for years for some decently high traffic domains (30,000 unique visits a day)). BIND is available for both OS/2 and Linux, as well as a number of other options for both.

    .

    You can use OpenDNS or a similar service...

    (The formerly run by) UUNet name servers still work and accept connections from anywhere.

    On this note, btw, it's not just small ISPs who are doing this... OptOnline is doing this in my area, and we are a business customer with a business connection.

  21. ask by Spaham · · Score: 1

    You should ask you IT manager,
    oh, you're the IT manager ? hmmm ;)

  22. Quick fix by Anonymous Coward · · Score: 0

    sudo chattr +i /etc/resolv.conf

  23. Mod parents up by adolf · · Score: 4, Funny

    Mod parents up, please.

    And then we can all go home. This is an easy problem to solve once you see it from the right angle, and that angle is described above.

  24. Doesn't OpenDNS also use NXDomain Redir? by JSBiff · · Score: 1

    It's been awhile since I looked at OpenDNS, so maybe I'm mis-remembering, but I could swear that OpenDNS's business model is based around generating ad revenue from doing NXDomain redirection, isn't it? If that's the case, swapping one NXDomain redirect for another doesn't seem very productive.

    1. Re:Doesn't OpenDNS also use NXDomain Redir? by Anonymous Coward · · Score: 0

      Yes, but I think it only does that on Google searches. I may be wrong about what sites it affects, but that's why I stopped using it at home.

    2. Re:Doesn't OpenDNS also use NXDomain Redir? by Kalriath · · Score: 1

      No, it does it for all NXDomains now.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  25. Sounds like a feature request for Deadwood by Ex-Linux-Fanboy · · Score: 1

    You know, that's a good feature request for Deadwood, code I'm working on now that will eventually become the next-generation recursive DNS resolver for MaraDNS. Have a feature so that, if we get a given IP over DNS, make the reply a "notthere" reply (It's a bad idea to make it a NXDOMAIN).

    MaraDNS is an open-source (BSD licensed) DNS server I've been working on for over eight years; right now I'm re-writing the recursive code. Currently, the rewrite of the recursive code is a tiny (32k) DNS forwarding (non-recursive) cache for both Linux and as a native Windows binary.

    My goal is to have full recursion supported by the end of 2009.

    1. Re:Sounds like a feature request for Deadwood by Anonymous Coward · · Score: 0

      Shouldn't you have used the word 'cocksucker' a lot more times in your post if you're from Deadwood?

  26. Uhhh by jafiwam · · Score: 1

    No VPN software or hardware I ever used does this. It always checks the VPN DNS server first before going to the main one.

    Reconfigure your VPN software, something is wrong.

    YES, NXDOMAIN redirection sucks, but it does not by default interfere the way you think it does.

    If it's servers on your network you need, you could just stick a hosts file entry on their computers to resolve "webserver" to 10.1.200.34 etc.

    1. Re:Uhhh by tthomas48 · · Score: 2, Insightful

      I wonder if the actual problem is this:

      1. User goes to internal site, gets ISP not found page.
      2. User goes "Whoops, need to turn on VPN". Turns on VPN
      3. User hits refresh. Still goes to ISP not found page.

      Is he sure this isn't an issue of just needing the user to close their browsers to clear the browser dns cache?

  27. Firewall by Anonymous Coward · · Score: 0

    I use FIOS which does this (annoying as hell) but they do provide DNS servers which don't exhibit this behavior.

    For your end users, put a firewall between the user and the internet.

    Any old linksys should do, they already have DHCP on them.

    Just configure the fw/router with the "opt-out" DNS servers. That way the users won't need any special config on their laptops/desktops.

    Option B:
    If these are windows clients, can't you just assign different name servers to different network connections?
    The VPN adapter can use DHCP to pull the corporate DNS servers.
    The "internet" NIC they plug into their cable modem can use the static "opt-out" DNS settings.

    Note that this wouldn't work well for Laptop users because they'd have to change their network config when traveling.

  28. Re:A Good Old Fashioned Holocaust by Anonymous Coward · · Score: 0

    When everybody dies in 2012 at least I'll be happy assholes like you will be dying too.

  29. Setup your VPN and network right.. by papasui · · Score: 1

    and you won't have to worry about it. Your DNS needs to be coming across your VPN tunnel, not from your ISP. Done.

  30. I Don't Understand - Use Your Own DNS by segedunum · · Score: 1

    I seriously don't understand this. Presumably when users are connected to the VPN then there must be some way of resolving internal names, and this can only be done via your own internal DNS. You can't have the DNS of users' ISPs resolving internal names because that would be silly and would obviously fail. Therefore.......use your own DNS while users are connected to the VPN. A lot of VPN software will do this automatically, but I've done this with OpenVPN by pushing down DNS through DHCP and changing the bind order of the interfaces with the VPN at the top. At least on Windows that is.

    I have no clue whatsoever why you're trying to talk to ISPs. This is not their problem at all.

    1. Re:I Don't Understand - Use Your Own DNS by sgt+scrub · · Score: 1

      To add to seqedunum's post. I use OpenVPN too. You don't HAVE to push anything through DNS but can and is probably the easiest. OpenVPN GUI for windows makes it easy for even the dumbest (marketing/sales department) people in the office to use. You can hard code the ip address as the destination in the config. All the user has to do is double click on an icon on their toolbar, login (or use a shared key), and p00f they are connected.

      --
      Having to work for a living is the root of all evil.
  31. How to deal with this? by Anonymous Coward · · Score: 0

    Use another ISP.

  32. could someone explain what the issue is here? by goombah99 · · Score: 5, Informative

    This guy sounds like a manager or IT worker who is having problems with his employees connecting to the work VPN.

    it sounds more like he has not stated the problem correctly.

    how is it possible that a VPN connection is doing DNS to an external name server? Should not every internet request flow over the vpn from the client to the server. once it reaches the internal vpn server the server should know how to route the internal addresses and for external addresses it could use an external domain name server. the problem described seems like it should not exist. what am I missing?

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:could someone explain what the issue is here? by cayenne8 · · Score: 1
      "how is it possible that a VPN connection is doing DNS to an external name server? Should not every internet request flow over the vpn from the client to the server. once it reaches the internal vpn server the server should know how to route the internal addresses and for external addresses it could use an external domain name server. the problem described seems like it should not exist. what am I missing?"

      Thank you, that is what confused the hell out of me too when I read it.

      When I VPN somewhere...I don't see the outside world directly from my box anymore...all is redirected to the internal site/servers I am vpn'ing into. I kinda assumed that was the point and practice with vpn software...?

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    2. Re:could someone explain what the issue is here? by omnichad · · Score: 4, Insightful

      Unless it's set to send ALL traffic over the VPN, you have to resolve the hostname in order to decide if the DNS name is on the VPN or on the Internet.

      Even if all traffic goes down the VPN wire, it's probably making those requests to the same DNS servers OVER the VPN. Bust since it's still the same DNS servers, it still gets the same results.

      The IT guy would have to intercept all DNS requests over the VPN and proxy them to his own DNS server. That's not a bad answer. Too bad I'm buried in the middle of this thread.

    3. Re:could someone explain what the issue is here? by mr_mischief · · Score: 1

      Some VPNs only route traffic meant for certain destinations through the VPN as one network interface and allow traffic to the public Internet use the actual established connection. Further, it sounds as if he's placing DNS servers for the VPN-connected network in the adapter confirguration in addition to any DNS servers that were assigned by DHCP or PPoE from the ISP.

      This setup will work if the client machine sees failures from the ISP's DNS then checks the VPN's configured DNS, but it will still always create traffic to the ISP's DNS. If the ISP redirects all unknown domains, then it won't work because the client will have received a valid IP address from the DNS query.

      What needs to be done is for the VPN's DNS to be the only DNS the client machine uses whenever it is connected to the VPN, even if the other traffic meant for the public Internet isn't tunneled through the VPN.

    4. Re:could someone explain what the issue is here? by hal9000(jr) · · Score: 1

      Luckily, it isn't that busy a thread.

      The IT guy would have to intercept all DNS requests over the VPN and proxy them to his own DNS server. That's not a bad answer. Too bad I'm buried in the middle of this thread.

      You're right. If the VPN is set-up to send all traffic over the tunnel, then the host *should* resolve using the company DNS servers. If the VPN is set-up for split tunneling, then the DNS will goto the ISP DNS. However, few VPN clients have the option to capture all DNS requests.

      The solution is to put your internal server records in your public DNS or modify the hosts file.

    5. Re:could someone explain what the issue is here? by omnichad · · Score: 2, Insightful

      Putting your internal server records in public DNS is a security risk, since it exposes details of the internal network layout. I guess the best answer is to use any reliable DNS server out on the Internet that *doesn't* mangle its results. 4.2.2.1 or another major ISP's DNS servers.

    6. Re:could someone explain what the issue is here? by pthisis · · Score: 4, Insightful

      Some VPNs only route traffic meant for certain destinations through the VPN as one network interface and allow traffic to the public Internet use the actual established connection.

      They should be checking the internal DNS servers first (which should not promulgate requests up to public servers), and then the public servers.

      Doing in the other order sends internal information (server names) over the public network.

      --
      rage, rage against the dying of the light
    7. Re:could someone explain what the issue is here? by TooMuchToDo · · Score: 1

      There was a thread on NANOG a day or two ago talking about Level3 is starting to ACL off 4.2.2.1 off from the world except downstream transit customers. I would recommend against using that DNS server, and look at someone like OpenDNS.

    8. Re:could someone explain what the issue is here? by omnichad · · Score: 3, Informative

      OpenDNS has NXDOMAIN redirects too. You'd have to work only from static IP addresses that are configured with an OpenDNS Account.

    9. Re:could someone explain what the issue is here? by TooMuchToDo · · Score: 1

      Most home users have static or static-like (Comcast, for example, ties the DHCP IP to your MAC address) addresses. Other option is to run your own recursive server on the company network and provide that DNS IP to your users.

    10. Re:could someone explain what the issue is here? by Intron · · Score: 5, Informative

      Depends on the VPN setup. I don't want my VPN clients sending all of their web browsing through the VPN and then back out through my firewall. I only want the traffic destined for my internal network. On their end, they should have a route table that sends traffic for me through the VPN and everything else through their normal ISP. I can support a lot more users that way.

      --
      Intron: the portion of DNA which expresses nothing useful.
    11. Re:could someone explain what the issue is here? by Andy+Dodd · · Score: 4, Insightful

      That's a hell of a security risk, having a client connected to both your internal network and external networks simultaneously.

      Every corporate VPN I have ever used has, as part of its function, disabled all network interfaces other than the one it was using once a connection was established. In addition it would prevent any traffic from going through the "normal" connection. The idea was that a machine should never have connectivity to both the internal network and the outside world simultaneously.

      The article poster doesn't need to fix their users' ISPs, they need to fix a horrifically broken and insecure VPN system.

      --
      retrorocket.o not found, launch anyway?
    12. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      you're assuming a non-split tunnel.

    13. Re:could someone explain what the issue is here? by Sparr0 · · Score: 4, Informative

      I have never seen that enforced, and only twice ever as the default setting. It is a client-side configuration option in most VPN software (Cisco, SecuRemote, most Linux VPN clients).

      You want VPN users to stream video or download game patches or do other non-business-related bandwidth intensive operations over the VPN, when they have a perfectly (ha!) good internet connection locally? I hope you have a REALLY big network pipe.

    14. Re:could someone explain what the issue is here? by fuzzyfuzzyfungus · · Score: 1

      I have also had this experience with VPNs. That said, unless the only VPN connections are coming from well, locked down corporate-issue boxes, doesn't this theory of security amount to "trusting the client" which is generally considered to be a bad idea?

    15. Re:could someone explain what the issue is here? by Malc · · Score: 1

      I've had problems with Cisco's VPN client where it was using a local DNS server rather the remote one on the work network. It's possible that it might have been when the local network had a similar network (e.g. at an airport, on a 10.0.0.0/24, versus the work network of 10.0.0.0/16), but I don't remember. The version I have now works.

      The story description sounds like the VPN client uses local DNS unless look-up fails, and then it goes to DNS server at the other end of the VPN tunnel. This is clearly a security risk and if there were DNS spoofing going on, somebody could give away information that should only belong on the VPN tunnel.

    16. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      Enforded at my work place. Everything except the VPN connection to the IP of the VPN-entry-point is simply not working, at any times, no matter if connected to the VPN or not. Makes sense, if you think it through.

    17. Re:could someone explain what the issue is here? by mellon · · Score: 5, Insightful

      I'm not sure what your threat model is, but I suspect you are claiming one of two things: either that the VPN node might act as a router, forwarding packets around your firewall, or that the VPN node might be compromised and used as a stepping-stone onto your network.

      In the case of the router vulnerability, this is something that you can control on the corporate side of things by simply not accepting packets down the VPN tunnel that don't come from the IP address that's the far endpoint of that tunnel. I'm not a VPN expert, but I would be surprised if this isn't how your VPN is configured by default.

      In the case of the stepping stone, this is a fairly weak threat model, for two reasons. First, if your machine has been rooted, there's a good chance that it will phone home out through your firewall even if you route all internet access through the VPN. So it will be a stepping stone to your network anyway.

      Second, if your machine has been rooted, and is running any sort of virus platform, it's going to try to infect machines on your network even if it doesn't have a link to the outside world. If you are genuinely concerned about threats originating on employee laptops, you shouldn't allow them to VPN into your network at all.

      So the point is that forcing the VPN'd node to access the internet through your site is probably going to be a big inconvenience for your users (the kind of inconvenience they will hack around, possibly making you even more vulnerable) and it's not going to buy you any meaningful security.

      Firewalls are great for slowing the spread of infection, and raising the cost of attacking you, but you really do need to secure every node as well, and if someone really wants to get past your firewall, and is willing to expend substantial effort to do so, you probably won't stop them without much sterner measures than the one you're advocating.

    18. Re:could someone explain what the issue is here? by networkBoy · · Score: 3, Insightful

      Enforced at my work. In addition we don't allow user's personal machines onto the VPN. Since it's a company notebook on the VPN and all traffic goes through the VPN, we also enforce the internal AUP on remote users using the VPN. That means downloading a game patch will get you a stern talking to, downloading porn or torrents of wares, etc. will get you fired.
      Again, this is all acceptable, because you are on company equipment (even if you are at home). If the case is that employees are being allowed to attach their personal equipment through the VPN to the company's internal network then I really hope you totally trust your employees, because one rogue could catastrophically hose you.
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    19. Re:could someone explain what the issue is here? by mellon · · Score: 1

      You didn't understand the point in the comment you're replying to. Suppose you have a VPN setup. Starting from not being connected to the VPN, you plug your laptop into an internet connection somewhere. You get an IP address and DNS server IP addresses from DHCP. The DHCP client configures your host to resolve DNS using that IP address.

      Now you turn on the VPN. This does not (necessarily, and clearly does not in the case we're discussions at the moment) change the IP addresses your laptop is configured to use for name resolution. So if you run all DNS queries down the tunnel, they're still going to go to your ISP's DNS server.

      The only thing that's changed is how they get there. Instead of going out your internet connection to your ISP's DNS server, they're going to go across your VPN tunnel, to your work network, out your work network's internet connection, across the internet to your ISP. The response will retrace that path.

      In order to use your work DNS servers to resolve names, your VPN has to be configured to change the IP addresses to which it sends DNS queries when the VPN is set up, and put things back when the VPN is torn down. If it's able to do this reliably, this isn't a bad solution, but it sounds like the VPN software we're talking about at the moment doesn't do this, because if it did, the person who posed the original question wouldn't be having this problem.

    20. Re:could someone explain what the issue is here? by Grishnakh · · Score: 1

      If it's able to do this reliably, this isn't a bad solution, but it sounds like the VPN software we're talking about at the moment doesn't do this, because if it did, the person who posed the original question wouldn't be having this problem.

      I'm not a VPN expert, but if there is VPN software which does this, then maybe they should just require all employees (or at least ones with the crappy ISPs) to use this software, instead of VPN software which doesn't have this feature.

    21. Re:could someone explain what the issue is here? by Thinboy00 · · Score: 1

      Doing in the other order sends internal information (server names) over the public network.

      I'm not an expert. Isn't such information usually not routable (did I spell that right?) anyway?

      --
      $ make available
    22. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      Every corporate VPN I have ever used has, as part of its function, disabled all network interfaces other than the one it was using once a connection was established. In addition it would prevent any traffic from going through the "normal" connection. The idea was that a machine should never have connectivity to both the internal network and the outside world simultaneously.

      And, of course, the simplest away around this from a user perspective is to isolate the corporate VPN session inside of a VM. I have to connect to many customers' VPNs simultaneously from my work laptop as part of my job (and still be able to access my office network, too), and doing otherwise would be terribly inconvenient. Using VMs, however, each session is isolated from the other, and my host session remains connected to my office from home through a Cisco 871W which has a dedicated VPN tunnel/VLANs for that. Now, all I have to do is convince my boss that I really need a Cisco Unified Wireless IP Phone 7921G *grin*

    23. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      This looks like the issue, finally. The OP at the very top says they have a VPN, but if you have personal machines connecting through your VPN connection using a hybrid lookup and routing scheme, its only virtually private.

    24. Re:could someone explain what the issue is here? by Kalriath · · Score: 1

      I have never seen that enforced, and only twice ever as the default setting. It is a client-side configuration option in most VPN software (Cisco, SecuRemote, most Linux VPN clients).

      Actually, in the Cisco client it is NOT a client option. The server can override any and every setting in the client, including that one. Our Cisco VPN concentrator, for example, disables split networking the instant you connect.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    25. Re:could someone explain what the issue is here? by garaged · · Score: 1

      that's the high security policy, normal VPN use this days is not that critical, a lot of VPN are used to access a limited set of internal services, for totally "normal" people.

      If you force all traffic to the VPN, clients will complain about the slownnes, or even the blocking systems on the corporative firewall.

      --
      I'm positive, don't belive me look at my karma
    26. Re:could someone explain what the issue is here? by WaxParadigm · · Score: 1

      I agree this is a DNS setting issue. Once the tunnel is nailed up the host's DNS settings should be changed to use internal DNS servers (only, or at least first). With most of the VPN products I've seen there are config options to control this behavior (client DNS) in this type of a scenario (when host is allowed to send network traffic via local network while connected).

      (I used to be the technical lead for remote access for a Fortune 100 company. Our VPNs were used by over 100k employees/contractors.)

    27. Re:could someone explain what the issue is here? by bwcbwc · · Score: 1

      Uhh, if they're blocking simultaneous connection to VPN and to the internet, they're probably blocking access to the game and video sites at their firewall as well.

      My workplace blocks simultaneous connections unless you can submit a justification because you are working off-site on a customer's domain.

      --
      We are the 198 proof..
    28. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      Hmm, you seem to be the only poster that actually understands the problem. This guy should fix his VPN and I guess that the smaller ISPs he complains about thinks so too!

    29. Re:could someone explain what the issue is here? by pthisis · · Score: 1

      I'm not sure I understand. Server names aren't routable. Presumably the internal DNS servers aren't going to resolve them for external queries, and their IP addresses aren't publically routable (unless they're intended for public use).

      The danger is that the names themselves may be valuable, depending on the internal naming scheme. A lot of places have names that include details about platforms (EXCHANGE_SERVER1), or number of servers (WEB1...WEB23), or which branches handle certain things (USHQ-ACCOUNTING), or whatever.

      If you have more abstract names, you still want to protect them. Someone doing social networking is a lot less likely to be asked questions when they call up IT and say "hey, I forgot my password on TweetyBird--can you reset it?" or otherwise demonstrate internal knowledge than if they're coming in cold.

      The more general point is that it's just good practice that if you're going to have a VPN, it should _be_ a VPN--anything that is meant to be internal should never be sent over the public internet. The more you leak, the worse off you are.

      --
      rage, rage against the dying of the light
    30. Re:could someone explain what the issue is here? by bwcbwc · · Score: 1

      Shouldn't the clients have separate DNS configurations for their ISP connection and their VPN connection? Or even if they have a single configuration, make the primary DNS point to the ISP and the secondary DNS point to the corporate server. Then the IT guy can block the outside access to DNS on the public internet for VPN clients.

      --
      We are the 198 proof..
    31. Re:could someone explain what the issue is here? by Sparr0 · · Score: 4, Insightful

      And this is an excellent plan for convincing your users to only connect to the VPN occasionally. Good if you want to maximize security. Bad if you want to maximize productivity.

    32. Re:could someone explain what the issue is here? by omnichad · · Score: 1

      And how would a computer know which DNS configuration to use? Precognition would be required to know if an address is internal or external.

      If the IT Guy blocks outside access to DNS, then it would take the full DNS timeout time to look up any IP. The VPN would have to redirect DNS requests to the internal server. At which point having a the internal server listed is simply redundant.

    33. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      Depends on the VPN setup. I don't want my VPN clients sending all of their web browsing through the VPN and then back out through my firewall. I only want the traffic destined for my internal network. On their end, they should have a route table that sends traffic for me through the VPN and everything else through their normal ISP. I can support a lot more users that way.

      You don't have to push a default route to the clients, you just need to push DNS servers. I'm sure the connect can bear the brunt of 50 vpn clients resolving names...

    34. Re:could someone explain what the issue is here? by shasta+mcnasty · · Score: 1

      Even if you don't have static IP, OpenDNS has a client that will auto-update your account when your dynamic IP address changes. But you do still need a (free) OpenDNS account to turn off the NXDOMAIN redirects. The OP would have to set up the user's machine, or get the user to set it up themselves though. A paid OpenDNS account would let the OP handle the setup of multiple users (multiple IP addresses), but would still require running the IP updater client on the users' machines.

    35. Re:could someone explain what the issue is here? by cmarkn · · Score: 0

      That's a hell of a security risk, having a client connected to both your internal network and external networks simultaneously.

      I don't see how it is even possible. The whole point of VPN is that the machines in that net are invisible to the outside world. To connect both through the VPN and around it, you need two connections, one to the network router and one to an external router, which means you are making each internal machine its own VPN. Then you need a DNS running on each machine to decide which connection to use for each packet you send. I think you also need a separate firewall for each machine, but I'm not sure about that.

      The way my net works is that each computer has one connection to one router. Messages from client C to ninja server S in the VPN go to the router R once to get the address of S, then C talks directly to S, so the traffic is only travels internally once. Messages from client C to server X outside the VPN go to the router R, which then asks pirate DNS server D for the address to forward the message to X, and again it travels internally once and externally once. When X responds on the outside net, R reads the port it is addressed to and forwards it to the correct port on machine C. Again, it travels internally once. All the internal traffic gets routed internally by R and is never seen by D. Thus, the only way the pirate DNS can hijack a message is if it was addressed to a place that doesn't exist anyway. All they're doing is sending you a substitute 404 page, nothing evol.

      What am I missing here?

      --
      And that's why ninjas are deadlier than pirates.

      --
      People should not fear their government. Governments should fear their people.
    36. Re:could someone explain what the issue is here? by ratboy666 · · Score: 1

      Typical use case:

      I am currently engaged with a client. For a number of reasons, we had to accept "unlimited liability" in the case of information leakage (and that could easily run into the millions).

      If I have a VPN connection linked up to the internal network, I cannot tolerate other external connections. Whether or not "malware" is transmitted internally is not my concern (and it probably isn't an issue; I use neither Windows(tm) or OS X).

      Further, I don't store "sensitive" client data on my machine; other data is stored encrypted. Even if I am physically at the client site, there is a separation with network cables -- some have external access, and some are internal. To bypass this, I guess I could connect TWO cables, but my machine only has a single network port preventing this from occurring accidentally.

      This VPN behavior is useful to those of us who need an "air-gap" or something arguably similar. Yes, I use VPNs like this, and I guess you could call me paranoid.

      --
      Just another "Cubible(sic) Joe" 2 17 3061
    37. Re:could someone explain what the issue is here? by Artifex · · Score: 1

      Unless it's set to send ALL traffic over the VPN, you have to resolve the hostname in order to decide if the DNS name is on the VPN or on the Internet.

      Why not use a hosts file to assign the internal IPs? That's kinda what it's for. Even Windows machines can do this. It's only a pain if you change server IPs, and that's quickly resolved, too. (Heh.)

      --
      Get off my launchpad!
    38. Re:could someone explain what the issue is here? by sudog · · Score: 1

      Nah it's not. The fact that it has external internet connectivity at all (whether it's periodic or not) means that preventing simultaneous access is completely pointless, because all you're doing is time-shifting the attack vector.

    39. Re:could someone explain what the issue is here? by sshock · · Score: 1

      (the kind of inconvenience they will hack around, possibly making you even more vulnerable)

      Exactly. I worked around it and if I hadn't been able to I probably would have quit. The vpn client for windows enforced the company policy, but the vpn client for linux let me set up split tunelling the way I wanted. So I set up a linux router/firewall and never looked back.

      I blogged about it last year: http://hellewell.homeip.net/phillip/blogs/index.php?entry=entry080509-170319

    40. Re:could someone explain what the issue is here? by casebeer · · Score: 1

      Actually, it is a client side option -- try using the (non-Cisco-branded) vpnc client to connect to a Cisco concentrator that *request* that its clients disable split tunneling. You'll find that the "pushed" no split tunneling is just that: a request that the well behaved Cisco-branded client respects.

    41. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      And why the hell should they be doing non-work related stuff over the VPN. The VPN makes your machine act as if it is physically part of the network in office. If it isn't acceptable over there, what the hell makes you think it would be acceptable over the VPN. You want to goof around and download some shit? Disconnect from the VPN. Want to connect in and do some actual work? Connect to the VPN and do your job. I have no problem with casual web surfing but how is it acceptable to any bandwidth intensive activity that does not pertain to work? Think about it.

    42. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      If you use VPN's for secure connections to the WorkNet, Don't let your clients split tunnel. If it's not for security, don't use VPN's.

    43. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      When work needs me to hop on and keep an eye on our production servers after a major deployment, I'll be damned if I let some control freak tell me I can't do anything else with my entire evening, simply because they're afraid their lead developer could be stupid enough to turn on routing between their connection and my own.

    44. Re:could someone explain what the issue is here? by vegiVamp · · Score: 1

      Correct me if I'm wrong, but I see no problem setting your dns servers to IP's that are hardrouted through the VPN when you connect.

      --
      What a depressingly stupid machine.
    45. Re:could someone explain what the issue is here? by Random_Goblin · · Score: 1

      You want VPN users to stream video or download game patches or do other non-business-related bandwidth intensive operations over the VPN

      no i want them to do their bloody work!

      if you allow your users to stream video and download games during working hours, more fool you

      either they are working and require VPN or they are not and they don't

      your solution is just a security nightmare

    46. Re:could someone explain what the issue is here? by maxwell+demon · · Score: 1

      Why? If they want to work, they use the work computer connected via VPN. If they want to surf/play/whatever, they use the private computer. Since they are at home, they can run both at the same time, side by side.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    47. Re:could someone explain what the issue is here? by sjames · · Score: 2, Interesting

      Machines that connect through a VPN client are only behind your firewall some of the time. They cannot be trusted to be virus free. The firewall needs to keep them, the LAN clients and the servers separate anyway.

      Another point is that if the machine has been infected, that means that the software on it has been altered. The VPN client software is not immune to this. You may THINK split tunneling is disabled, but are you sure?

      There may be other issues as well. If you WANT people to come in through their personal machines after hours, they may well object to having their routing hijacked and their personal internet traffic (during their personal time at home) snooped and limited by a corporate firewall.

      In a related issue, let's just say there are some perfectly legal things employees do on their own time at home that their employer is really better off not knowing about and might prefer not to be connected with.

    48. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      You can also use DynDNS like update features to use OpenDNS configuration settings with dynamic IPs.

    49. Re:could someone explain what the issue is here? by Jesus_666 · · Score: 1

      How about having users disconnect from the VPN when they're not doing anything work-related?

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    50. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      That's the solution I use. The disadvantage is that when I connect or disconnect the VPN, all connections are dropped (the IP changes). So, if I'm downloading something (not work related), that will take a couple of hours, and I just want to take a quick look at something work related, I'm NOT going to fire up the VPN and abort the download. Instead, I'll just think "I can do that tomorrow".

      Result: Less work from home getting done.

    51. Re:could someone explain what the issue is here? by ElizabethGreene · · Score: 1

      You've hit the nail on the head. The OP needs to specify a recursive enabled dns server to his clients when they connect across the VPN. They can still use their local internet connection for http/s/IM/etc traffic, but he needs to provide dns for them.

      All of the VPN servers I have used will allow you to do this. (Astaro SSL, Cisco->pptp, Linux OpenVpn, Adtran)

      -ellie

    52. Re:could someone explain what the issue is here? by B'Trey · · Score: 1

      What you're talking about is called split tunneling. There is some security risk with allowing split tunneling, although it's not "...horrifically broken and insecure..." as you suggest, particularly if you require the client to have a local firewall before you bring up the VPN. (Decent VPN software will allow this.) The problem with not allowing split tunneling is that it greatly increases the load on your network, since all traffic is routed through you before going to the client, and that you break lots of things for the VPN'd user. For example, if I"m VPN'd and split tunneling is disallowed, I can't use a local network printer until I break the VPN.

      Like every other situation, there is a trade off between security and functionality. Increasing security decreases functionality and vice versa. Whether or not it makes sense to allow split tunneling is greatly dependent upon the situation.

      --

      "The legitimate powers of government extend only to such acts as are injurious to others." Thomas Jefferson.

    53. Re:could someone explain what the issue is here? by Andy+Dodd · · Score: 1

      Um, users are supposed to disconnect from the VPN when doing personal tasks.

      Typical corporate network connections are slow enough compared to a typical home user's highspeed connection (due to the corporate connection typically being shared and running everything through a proxy server) that the first thing a user is going to do when they want to stream video is to disconnect from the VPN.

      Downloading a video game patch while connected to the VPN would be grounds for dismissal at most companies.

      --
      retrorocket.o not found, launch anyway?
    54. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      why are you using a work machine for something non-work this is why we give our staff laptops, they are company computers for company purposes only, we can determine what we do with them which means we can decide vpn policy, what plugins in their browsers, what privileges they have on their computers etc ok, that's the theory. in practise we have staff too lazy to carry their laptops home, locking them away, most have admin rights anyway, and we've had to install VPN on their own machines. I've argued with the CTO that this is bad but he likes to keep people happy and thinks controlling their computers makes us seem like a big faceless corporation with nothing better to do than make staff miserable.

    55. Re:could someone explain what the issue is here? by mr_mischief · · Score: 1

      First maybe, or perhaps only, as I said before. Honestly, the extra traffic of hitting your company's DNS over the VPN even for public sites isn't that much. It also makes sure that any lookups made while connected to the VPN are not made to someone else's compromised BIND 4 server or something.

      If you're running a DNS server that's compromised back at the office, you already have bigger problems anyway.

    56. Re:could someone explain what the issue is here? by SoTuA · · Score: 1

      I have, when I was a contractor for a major silicon valley tech firm, the VPN connection meant everything went through the VPN, and no way to disable it (Cisco VPN software). No access to the LAN, printers, etc., and all your traffic through the VPN, as evidenced by the location-aware advertisements on the web changing to $CLIENT_LOCATION instead of $HOME.

      BTW, if you have a VPN like that, disable all your network drives, or Explorer will slow down to a crawl. Took us quite a while to figure it out...

    57. Re:could someone explain what the issue is here? by blueskies · · Score: 1

      Downloading a video game patch while connected to the VPN would be grounds for dismissal at most companies.

      Do you have numbers on that assertion? I'm willing to bet, most companies would not want to fire their employees for something as silly as downloading a game patch. Maybe big, stupid companies, but not the ones that value work output over rules.

    58. Re:could someone explain what the issue is here? by Sparr0 · · Score: 1

      Yes, but no typical/normal/average person does that. You would be amazed how many lawyers billing hundreds of dollars an hour do not own home computers.

    59. Re:could someone explain what the issue is here? by Sparr0 · · Score: 1

      Exactly. The people responsible for these policies rarely consider the ramifications. If I can do work related things from home *at my leisure*, I will do a lot more than if I have to dedicate an entire extra computer and/or blocks of my time to the task. I am not going to give up my web surfing or game playing on the train/bus portion of my commute, nor when I am stuck in an airport for hours.

    60. Re:could someone explain what the issue is here? by stickmaster_flex · · Score: 1

      Our network prevents anyone connected to the VPN from sending or receiving traffic through the firewall, and forces users to send all traffic out the VPN connection. It's the most secure way we've found. Granted, it means that you can't get on the internet when on VPN, but that's kinda the point, isn't it?

    61. Re:could someone explain what the issue is here? by Sparr0 · · Score: 1

      No, that's not the point. If I work for you, then I am only going to connect to the VPN when it is an emergency. As opposed to staying connected and occasionally monitoring the network and services, doing small maintenance tasks that might occur to me in the middle of the night, responding to requests on the corporate IM system, etc... You will get a significantly larger amount of productive work out of me if you don't institute that policy on your VPN. Did you consider that before making that policy?

      ("you" being the company and/or hypothetical network admin who made the decision, "I" being a mid level IT person with any of various responsibilities that can be accomplished from home)

    62. Re:could someone explain what the issue is here? by dskoll · · Score: 1
      Actually, in the Cisco client it is NOT a client option. The server can override any and every setting in the client, including that one. Our Cisco VPN concentrator, for example, disables split networking the instant you connect.

      OK, you go along believing that the client can't change that and be happy... :-)

      If you have root on the client Linux box, it's trivial to undo the server-"enforced" security.

    63. Re:could someone explain what the issue is here? by plague3106 · · Score: 1

      Should not every internet request flow over the vpn from the client to the server.

      No. Accessing google.com via the VPN would be a waste of bandwidth, when a connection can just be made using the local connection.

    64. Re:could someone explain what the issue is here? by Anonymous Coward · · Score: 0

      It isn't client side on Cisco. It looks like it is, but whatever the concentrator is set to is what their client does. Now if you don't use their client... all bets are off.

    65. Re:could someone explain what the issue is here? by networkBoy · · Score: 1

      they can still surf the net through the VPN, but since they are on a company network they have to abide by the corp AUP. there is no problem there.

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
  33. This is an unethical practice by Jane+Q.+Public · · Score: 2, Insightful

    ... and it should be stopped. Forced to stop if no other approach works.

    Redirecting my web request to somewhere else, as far as I am concerned, is equivalent to re-routing my snail mail to their own office if someone has moved. That is not acceptable. I want a "not at this address" notice, nothing else.

  34. here's a buck and I'll give you a clue by Anonymous Coward · · Score: 0

    Why are you not using your own DNS servers! or even use OpenDNS if your not able to set up and administer your own. DNS should configured with in your VPN software. Nothing says you have to use your ISP's resolvers.

  35. The solution is not to use DNS! by Cyrock · · Score: 1

    Have your remote users connect to an IP address instead of a name and all of your problems are solved.

    1. Re:The solution is not to use DNS! by egcagrac0 · · Score: 1

      This works great until changes cause a renumber, you start doing load balancing, or you have several names pointing at one IP address and you're doing different things with them (Apache vhosts, anyone?).

    2. Re:The solution is not to use DNS! by Cyrock · · Score: 2, Insightful

      Your external VPN interface should have its own IP address. That is a security best practice. If you are load balancing VPN connections, you should be using a VIP. Changes to VPN server IP addresses won't matter to the client. Using names for IP resolution works great for VPN connections until your DNS get hijacked!

  36. hosts file? by i.r.id10t · · Score: 2, Informative

    A logon script here loads a hosts file that null-routes a lot of known bad (spyware, etc) sites.

    Could you do the same for your internal hosts so that when on the VPN it doesn't even need to do a DNS lookup?

    --
    Don't blame me, I voted for Kodos
  37. Re:A Good Old Fashioned Holocaust by Anonymous Coward · · Score: 0

    Why, what happens in 2012?

  38. Will "bad" ISPs start blocking port 53? by e9th · · Score: 2, Interesting

    Some ISPs already won't let you connect to port 25 on any server that isn't theirs (forcing you to relay outgoing mail through them), ostensibly to prevent zombies from sending spam. The ones that monetize NXDOMAIN could easily do the same for DNS. All they'd need is some flimsy pretext, and maybe not even that.

  39. DNS Suggestion by Kiralan · · Score: 1

    Couldn't the Split Tunnel still be used, but all lookups are resolved via the company's DNS? You may resolve 'Pron' names, etc. but you would not be carrying the traffic for them.

    --
    V for Vendetta: People should not be afraid of their governments. Governments should be afraid of their people.
  40. Use multiple DNS servers by 1idman · · Score: 1

    If I understand correctly, the problem arises because the road staff's TCP/IP connection is receiving the DNS server info automatically from whatever connection they are using. If you set up the clients to use a preferred DNS server as something like OpenDNS, available from anywhere, and your secondary DNS server as the internal IP address of your local LAN's DNS server, you should get the effect you want. When your users are on the road, they will use OpenDNS. When they are back in the office, the requests for local names will go to OpenDNS and fail, and then be directed to the local DNS server.

    1. Re:Use multiple DNS servers by omnichad · · Score: 1

      When they are on the road, they will have a dynamic IP address. OpenDNS has its own NXDOMAIN redirection that can only be disabled by creating an account and defining an IP address list.

  41. Your VPN is busted by brunes69 · · Score: 2, Insightful

    The first thing your secure VPN tunnel should be doing is altering the client's DNS profile to only use the DNS servers on the other side of the tunnel. Anything else is totally insecure.

  42. User Error by ajcoon · · Score: 1

    Most network interface configurations allow you to specify a DNS server for that specific connection. I use both OpenVPN2 and Cisco IPSec clients on Windows and Linux. In both cases, the virtual adapters/interfaces used by these clients can have their own DNS server configured. It is only used when the adapter/interface is connected.

  43. I think maybe this is a VPN config issue by Anonymous Coward · · Score: 0

    Place your own DNS server on the internet outside of your DMZ. Then just point your VPN people to those DNS servers manually.

    As to what happens when they return to work, if we are talking about laptops and you have docking station then you can used a docked and undocked profile that could switch them back and forth. Otherwise just give them a icon to click on when they are having issues that manually sets the DNS back and forth. Itâ(TM)s extra training but a easy work around.

    I have to tell you that I am not sure why this is a problem for you honestly. VPN should setup a tunnel for your users connecting so once they resolve the name of the VPN servers to connect to they no longer use external DNS at all. If your problem is that they keep you from resolving the name of your VPN servers correctly then just hardcode in the IP into the client.

    Hope this helpsâ¦.

  44. Optout by Anonymous Coward · · Score: 0

    When I had Time Warner, their opt-out link only worked in IE. Maybe that's why the opt-out link isn't working?

  45. Charter Communications by shentino · · Score: 1

    My ISP recently started pulling this crap.

    In response, I installed bind9 and resolvconf to get data directly from the authoritative name servers.

    It's the old adage "If you want something done right, do it yourself"

    1. Re:Charter Communications by Oyjord · · Score: 0

      Does Charter have any kind of opt-out policy on this? They've been doing it to me for YEARS now in SoCal.

  46. MOD PARENT UP: Re:could someone explain what th... by HappyDrgn · · Score: 4, Informative

    This is in fact why NXDomain breaks things in the way the poster describes, however, unless you're the kind of employer who wants to see EVERYTHING your subordinates are doing it's not actually the best practice to filter everything through the VPN.

    Filtering everything through their VPN increases overall costs in bandwidth and hardware as Intron indicated. These are very real, very costly expenses that many employers overlook when implementing broad policies... and it's a fantastic point you raised that all too many companies forget.

    Why should my connection to slashdot.org, for example, be secure on the company VPN? My ssh and nfs connections have very real reasons to be secure however!! On the other hand you could fix this by filtering DNS traffic through the VPN, but not web traffic. The cost of DNS traffic is marginal comparatively to other services, but the benefit for companies facing these specific issues is obvious.

  47. Practical solution to using disparate networks by Mostly+a+lurker · · Score: 1

    What you are describing is one part of a general problem. When users are moving around using different networks, various tweaks to the network settings on the computer are often needed. A user-oriented tool to switch networks is needed. Some notebooks (e.g. Thinkpads) already come with such a tool. Otherwise, NetSwitcher is about US$20 a copy. Someone technical sets appropriate settings for each location the user visits. Subsequently, the user just calls up the configuration for 'Home', 'Office', 'Cust-X', 'Airport' or wherever.

  48. Netsh by starpc · · Score: 1

    What I've done in a situation like this is configure two Netsh batch scripts. The first configures the NIC for office use. The second configures the NIC to use DHCP and Level 3's public DNS Servers, 4.2.2.1 and 4.2.2.2. More info about setting up netsh scripts can be located at: http://www.petri.co.il/configure_tcp_ip_from_cmd.htm

    1. Re:Netsh by Achromatic1978 · · Score: 1

      Then you might want to be aware that unless you're a L3 downstream customer, they're in the process of ACLing you off of their formerly public DNS servers. Just FYI.

    2. Re:Netsh by Kalriath · · Score: 1

      Those two DNS servers aren't public - Level3 is firewalling them off from everyone but their downstream clients, because they were never intended to be used by Random Joe Bloggs.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  49. give the employees a open-wrt router by Anonymous Coward · · Score: 0

    then find out what IP adresses the portal has, like so:
    dig +short www.this-isp-sucks-by-nxdomain-hijacking-oh-leve-me-alone.com

    and put that address into dnsmasq.conf like so:

    bogus-nxdomain=66.150.2.179
    bogus-nxdomain=67.63.55.1

    dnsmasq will return NXDOMAIN if a response contains these addesses

  50. Re:MOD PARENT UP: Re:could someone explain what th by blingingToad · · Score: 2, Informative

    I do not think your ssh connection needs to tunneled through a VPN at all. Ssh is a secure way to transmit and recieve information without a VPN. I suppose you could use a VPN with ssh, but it seems redundant. NFS is another matter, though.

  51. Re:MOD PARENT UP: Re:could someone explain what th by cayenne8 · · Score: 1
    As another poster in this thread pointed out...security threat allowing you to connect to multiple networks at once.

    Every vpn setup I've had...locks down all network connections, and all ..through the vpn connection only while it is connected. Indeed all traffic goes through it.

    This is just the security measures they have had...they do not want to risk having machines connected into their networks, that are simultaneously connected to other networks or the internet...I kinda figured most any setup would want that level of security if they were going to the trouble of setting up a vpn connection.

    --
    Light travels faster than sound. This is why some people appear bright until you hear them speak.........
  52. DNS and VPN on Windows XP problems ** SOLVED ** by nanuuq2 · · Score: 1

    I had this problem as well with my VPN connection. It turns out the Cisco soft VPN was just another "interface". The DNS requests would go out to the regular ISP interface first and they used to error, so it would use the DNS on the VPN second which worked. When they no longer returned error, but rather a fake page, I lost the DNS on my VPN. The trick is to make the ORDER of interface access such that the VPN connection is first: Click on network Connections Click on advanced Click on advanced settings Move your VPN connection to the top of the list. TADAAAAAA

  53. Re:MOD PARENT UP: Re:could someone explain what th by Twanfox · · Score: 1

    Not all systems that a technician might SSH into are visible from the outside world. Sometimes, VPN gets you more than just encryption. It gets you visibility to far more systems than those on the Internet get to see.

  54. Sue 'em by harryjohnston · · Score: 1

    Sue them for false advertising. They're offering internet access, but since they don't follow the RFCs, what they're providing isn't really the internet.

  55. many options first you must understand the problem by Anonymous Coward · · Score: 0

    i recommend running a dns cache at almost every apex of the network, especially where faster stuff (lan) meets slower stuff (cable/dsl), on each individual host if need be.

    most dns caches are default configured to query the root name servers. this will seem to fix your problem immediately but is a bad thing. if every home user was querying the root servers we would quickly see the internet slow to a crawl or the cost of operating it rise to the point that some all-powerful govt would have to swoop in to "save the day" by taking over control. make sure you do configure your dns cache to query the isp's dns servers (integrating said software with your dhcp autoconfiguration is beyond the scope of this comment)

    this hijacking of NXDomain is such a prevalent problem that most dns caching software has either a configuration option or a highly revered patch to remap the response of a certain A record into a nxdomain response. here is the recommended patch for djbdns (aka tinydns suite) http://tinydns.org/djbdns-1.05-ignoreip2.patch

    in a very small isp this might make it impossible to get to their own home page or support page while this is enabled, if they are virtual hosts on the same webserver thats providing the nxdomain redirection "service". at most isps this wont be an issue

    HOWEVER, if this annoying "service" from your isp is _anything_at_all_ more than just a nuisance, (ie. it causes hosts on your vpn to be unreachable) then you have worse problems and you are actually lucky it brought them to the surface.

  56. Re:MOD PARENT UP: Re:could someone explain what th by Big+Boss · · Score: 2, Informative

    SSH tunnels get around that without difficulty. If you know the address, it's as simple as assigning local port 2222 to 10.1.0.100:22 and you can now SSH to that machine by connecting to localhost:2222. Get a SOCKS capable SSH client, and you don't need to set up the tunnel for each connection.

  57. Large ISPs (cough, verizon, cough) lie about it? by Medievalist · · Score: 2, Informative

    Large ISPs typically provide an opt-out on their sponsored links page that immediately opts you out of the DNS redirection, but I've noticed that some smaller ISPs and CLECs have opt-out links that don't actually appear to do anything. I don't have a good solution for employees using these ISPs, and our employees are getting frustrated because the problem is becoming more prevalent and we can't fix it for them. I've tried calling a few of these smaller ISPs for help, but it's been like talking to a wall.

    That's not limited to small ISPs. Verizon FiOS, for example:

    "Oh, sure, we will let you opt out - just click on the link that shows your router"
    BROKEN LINK
    Hmmm, guess I will click on a similar router...
    THEY ARE ALL BAD LINKS
    Gee, I guess I will click on the "change OS settings" link then...
    BAD LINK

    Somebody's going to point out that you can Google and find where helpful geeks have posted the instructions to opt-out without Verizon's assistance. But that's not the point, really, is it? Verizon had working opt-out links exactly long enough to get a favorable review in Consumer Reports, and then it all mysteriously broke. I cannot explain this coincidence, personally, you will have to come to your own conclusions.

  58. Change the DNS servers. by Anonymous Coward · · Score: 0

    Umm, just have people in your company specify your own DNS servers, or the ones from openDNS or anything else. Why couldn't you solve this easy easy problem w/o asking slashdot?

  59. Windows is the issue by bruce_the_loon · · Score: 1

    There is a bit of a cruddy issue with Windows and the way it deals with DNS servers provided by VPNs

    If your LAN connection DNS servers are on the same subnet as the LAN connection itself, as is the case with most home networks, then for some inexplicable reason, Windows queries the LAN-provided DNS before the VPN-provided DNS servers despite whether the VPN is configured for split tunnels or not.

    It's been documented, reported to MS and nothing has happened about fixing it.

    --
    Trying to become famous by taking photos. Visit my homepage please.
  60. Re:MOD PARENT UP: Re:could someone explain what th by Kalriath · · Score: 1

    Some systems (e.g. PCI DSS controlled systems) are forbidden to be directly exposed in that sort of manner - in which case a VPN with two factor authentication would be required.

    --
    For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  61. Create your own DNS server by Anonymous Coward · · Score: 0

    Set it up for authentication such that only your VPN users can access it externally, then manually tell them to use it for all their internet traffic. It isn't hard to specify what DNS servers to use. I'm sure some privacy concerns would be raised but they can always use their ISP's DNS server for non-work related activities. Or instead of using a hostname to connect to the VPN server, use an IP.
    2 cents

  62. Suddenlink does this even if you use your own DNS by zifr · · Score: 1

    I noticed this same thing from Suddenlink, I was being redirected when I input an invalid address in the url bar. I knew what it was after some searching. I ran Wireshark to verify what was going on. I also verified I was not using their DNS servers. I have my own DNS servers locally and with one of my leased servers. I also ran the same test with the server at 4.2.2.5 and they redirected me. When I emailed them I received this response [quote] Thank you for your inquiry. Suddenlink is committed to providing the best customer service possible. The Suddenlink search page can only automatically redirect you if you're using Suddenlink's DNS servers at the time of the incident. You state you're not using our DNS servers. Please note that it's impossible to get redirected to the search page on DNS servers other than Suddenlink's, due to the nature of the redirect and the fact that it's done by the DNS server. I notice you're using a Cisco/Linksys router. Please check your manually configured DNS settings on both your router and your computer to be sure you are using the DNS servers that you want to be using. We hope that we have been able to provide you with the information you requested. If we have not, or if we can be of any additional service to you, please do not hesitate to contact us again. Did you know that you can speak with a live agent without picking up the phone? It's Easy! Simply Click on the link below and let us assist you with your general or account specific questions. We are available 24 hours a day, 7 days a week for your convenience. http://www.suddenlink.com/chat.do Thank you for choosing Suddenlink Communications "Easy as counting to one." [/quote] So according to them it is impossible. Even though it is happening. I just blocked their address space and moved on. I know better than to deal with their customer support after they told me I couldn't pull down an address because they no longer used gateways. I asked if they were on pfm modules, which they replied yes. pfm = pure freaking magic.

  63. Do Not Use Full Tunnels by Anonymous Coward · · Score: 0

    Why would they want to use full tunnels?

    It provides a false sense of security and encourages abuse for the end user to legitimately reach their local network services (printers, etc.).

    The VPN is for talking to remote resources on a particular network (or set of networks).

    Requests for resources on the local network on other networks should go through the users normal gateway.

    The ISP is out of spec. They must either correct their problem or lose business.

  64. Re:A Good Old Fashioned Holocaust by Allicorn · · Score: 1, Funny

    The London Olympic opening ceremony is going to be so embarrassingly, cringe-inducingly awful that the kinetic energy involved in hundreds of millions of folks turning away from the TV screen to gag, all at the same time, is going to shift the Earth off its axis and send the planet plummeting into the Sun.

    The Mayans predicted it apparently.

    --
    OMG!!! Ponies!!!
  65. Re:A Good Old Fashioned Holocaust by theeddie55 · · Score: 1

    This is true, the huge power spike from the simultanious turning off of all these TVs could be some what catastrophic as well.

  66. Simple Solution by gbutler69 · · Score: 1

    You should configure your VPN client-software to update the /etc/resolv.conf (or Windows equivalent) to use your internal DNS server routed through the VPN. No need to route all external network traffic through your VPN though.

    --
    Over-the-top Response Guy! Giving "Over-the-Top Responses" since 1970.
  67. Dnsmasq is the answer by Technomancer · · Score: 1

    http://thekelleys.org.uk/dnsmasq/doc.html
    You can fix the nxdomain stuff in dnsmasq config.
    And you can configure it to use certain dns server for specified domains so for instance everything with .mycompany.com will go directly to your internal dns server.
    Since it is also doing DNS caching as a bonus your subsequent dns queries will be faster.
    Also you can give it hosts files with advert server domain names so you can block ads at dns level too.
    Also, it can act as DHCP server and use DHCP lease information for DNS resolving in local network.
    win-win-win-win ;-)

  68. VPN does not preclude packet filtering by raddan · · Score: 2, Interesting

    In the case of the router vulnerability, this is something that you can control on the corporate side of things by simply not accepting packets down the VPN tunnel that don't come from the IP address that's the far endpoint of that tunnel. I'm not a VPN expert, but I would be surprised if this isn't how your VPN is configured by default.

    You can also filter packets on the receiving end of the VPN. That's how I configured our firewall at work. The VPN tunnel simply looks like another network interface to our firewall, so I apply a slightly less restrictive set of rules to that connection than I do to the default external interface. Giving someone keys to your network just because they are an authenticated VPN user is not a very good idea.

    My main complaint with DNS tampering is the outright DNS hijacking that Sprint does with their AirCard (EVDO) service. You can't even query a different DNS server-- your packets are intercepted and redirected to Sprint's own DNS. Unfortunately, their records are often out-of-date as it appears that they also manipulate TTLs to keep the churn down on their servers. It's a real problem when you're relying on something like an AirCard for doing things like network penetration testing.

  69. 1 and 2 by Anonymous Coward · · Score: 0

    1) You have something misconfigured if it's causing an issue.

    2) It's a small ISP in a cutthroat market, they need the additional revenue stream.

  70. Fix dnsmasq + level3 by asdfndsagse · · Score: 2, Informative

    dnsmasq, avalable in most distrobutions, is a light weight dns server that you can tell the ips of bogus NXDomain sends and will turn them back to what they should be. You can also point your computers to level3's free dns service at 4.2.2.3 4.2.2.4 4.2.2.5 4.2.2.6

  71. Split tunnel, use corporate DNS by dezent · · Score: 1

    if you really want to use split tunnel, just push the internal corporate dns to all vpn clients. it's not harder than that. I know for a fact that openvpn/cisco-ipsec/pptp can do this.

  72. This is about DNS, not routing. by MarcAuslander · · Score: 1

    Lots of misunderstandings in the replies. First - the most common offender is the Hotel's local internet service. Second - this is about DNS, not routing. Windows tries all the DNS servers at once and believes the first positive answer. The DNS servers in the story are the onces the Hotel gave you on the real interface, and the ones VPN gave you on the VPN interface. You can often make this go away by using the advanced settings in the network folder to order the VPN adapter first as a service provider. Failing that, I know of no solution that doesn't require messing with the DNS server entries in the real adapter.

  73. Put your internal dns on the internet by jamesh · · Score: 1

    Provided that your internal dns zone is a subdomain of your external dns zone, just make it world reachable. IMVHO the days where 'hiding' your internal DNS zone adds any security are long gone - any external attacker who is in a position to make use of this information can already get it anyway.

  74. Uh.. simple? by sudog · · Score: 1

    nsswitch.conf:
          hosts: files dns

    Put your stuff in /etc/hosts. Done.

    Seems simple enough to me.

  75. Have each workstation run its own resolver? by Anonymous Coward · · Score: 0

    Then all you get from 'random ISP used by roaming user' is the raw connectivity, and you ignore their DNS entirely.

    In fact, when the vpn is up, it could use your main office's internal DNS server as a fallback.

  76. Re:MOD PARENT UP: Re:could someone explain what th by Anonymous Coward · · Score: 0

    ssh is already secure, and it is redundant to ssh via a vpn. In fact it would make more sense to run the vpn via an ssh tunnel.

    As far as nfs, good lord man you arent seriously trying to run nfs mounts over remote Internet connections?

  77. Why not use IP address? by Anonymous Coward · · Score: 0

    A previous employer I worked for had the VPN set to access the IP address of the VPN server. Never had a problem until they switched IP addresses and I didn't see the message.

  78. Sounds like a configuration issue... by Anonymous Coward · · Score: 0

    If your VPN clients are searching external DNS servers first, then it sounds like there's a configuration issue on the client side.

    Every VPN software I've used (Windows PPTP, Cisco AnyConnect, Cisco VPN Client, vpnc, pptp linux) sets the machine to query the DNS servers on the private network *before* whatever I have configured. DNS isn't difficult.

    NXDomain redirection is something which will only occur more and more, with companies like Nominum pushing products to do this. It's not a bad thing either, from a customer experience point of view... I'd much rather see something saying "Oops, you typed 'googgle.com' and I don't recognise that... did you mean google.com?", even if it had some advertisements too.

    1. Re:Sounds like a configuration issue... by Anonymous Coward · · Score: 1, Insightful

      If I have a typo configuring a TCP or UDP client, I need to know that. Hijacking the owner's DNS zone and sending me an IP address for some random machine that has never even tried to support the services I'm using? That's a recipe for troubleshooting hell. It's only tolerably awful for domains that offer nothing more than HTTP, and even there it violates the privacy of cookies and cache revalidation (but at least I'll know I've been screwed).

  79. Static by Anonymous Coward · · Score: 0

    If the internal hosts are all static (at least the important ones, like servers) then just create a standard listing of hostname->IP and store it in the hosts file of the remote machines. Those machines have to install/config the VPN client at some point anyway, why not tack on appending a list of hosts to that procedure?

  80. Re:MOD PARENT UP: Re:could someone explain what th by dkf · · Score: 1

    As far as nfs, good lord man you arent seriously trying to run nfs mounts over remote Internet connections?

    Depends on whether it is NFSv4 (or later). Earlier versions are resource-hungry and insecure, and you'd better off with CIFS or AFS than NFSv3 or earlier. (I don't know v4 well enough to discuss its suitability for non-VPN WAN use.)

    --
    "Little does he know, but there is no 'I' in 'Idiot'!"
  81. You may want to run a copy of bind locally. by Anonymous Coward · · Score: 0

    I was dealing with a similar problem (being an employee, connecting to my company's VPN).
    But I did not want to route all my DNS traffic through the VPN to the company DNS servers, because I am part of a community network that has a fake TLD set up on our own DNS servers -- using my company's DNS servers would prevent me from using this TLD. My solution -- run a copy of bind locally, with the following config: /etc/resolv.conf:
            nameserver 127.0.0.1 /etc/bind/named.conf:

            options {
                    forwarders {
                                  my_regular_DNS_servers_IP_address;
                    };
                    forward only;
            };

            zone "mycompany.tld" {
                    type forward;
                    forwarders {my_companys_DNS_server_internal_IP_address;};
            };

    This way, only requests to mycompany.tld go to my company's DNS servers, the rest goes to my regular DNS server, allowing me to access both, my company's split-horizon DNS and my network's fake TLD.

  82. No need to depend on the ISP for DNS by Anonymous Coward · · Score: 0

    Even before my now-previous ISP started to hijack NXDOMAIN responses I ran my own recursor feeding off of the root servers because the ISP's were flaky and unreliable. I'm not paying them to look at their ads, I'm paying them to provide me bandwidth.
    This still shouldn't be done lightly and not for just the single user because the root servers are a shared resource, but it does save you from invasive silly games ISPs like to play to further monetize you, the customer. I find it telling, but not surprising, that very few ISP customers actually speak up against the practice.

  83. easy solution by Anonymous Coward · · Score: 1, Interesting

    How about a good old fashioned hosts file for internal names. If your machine names are changing frequently you can update it with a login script. Besides that, set up your own DNS server and have them hit that. Fighting with the ISP is a fruitless exercise. I don't think they are going to change the whole thing just for you, but I think it's good that you posted this because if more and more admins just refuse to use the ISP's DNS maybe they will stop. Taken to the extreme, if more and more home users get too many unwanted ads, then this will be good for third party dns servers that charge a small fee.

  84. Try using OpenDNS by brewmage · · Score: 2, Interesting

    I don't know that I would leave that hole open in my VPN configuration, but have you tried using OpenDNS (http://www.opendns.com/)? I don't know if it'll work in your situation or not, but I hardcode it vs. picking up the automatically assigned ISP's DNS and it works great. It doesn't have the problems with the redirection for advertisement when an incorrect URL is entered. In fact, that's one of my primary reasons for using it. Give it a try. Their site will give you the two IP addresses you need to use them, and best of all... it's free.

  85. Re:MOD PARENT UP: Re:could someone explain what th by Anonymous Coward · · Score: 0

    And how do you get your ssh connection to 10.1.0.100, without connecting through the VPN in the first place? That's an rfc1918 internal IP address. It's not routable on the internet.

    And even if it was, your connection would still stop at the corporate firewall.

  86. We wrote an app to handle a similar situation by towerdave · · Score: 1

    We wrote a little app that runs on startup on our laptops. It basically does an IPConfig /all to a txt file, then parses that looking for our internal domain(s). If it doesn't find it, it sets up things one way. If it does find it, it sets them up another way. In our case, we used it to set the proxy and the speed/duplex on the network cards. But I'm sure you could use it to set different DNS servers. Hope this helps, TD

  87. I suspect this is a "captive portal" portal issue by gnu-user · · Score: 2, Interesting

    I worked for an ISP that provided service to hotels. VPN configs were the major source of problems. We implemented a captive portal to try to smooth over issues like

    SMTP rejection (SMTP-AUTH was not common, the portal provided silent redirect to local mail server)

    Accountability/Abuse -- The rooms were hard-wired, and captive portal gave us some retroactive sense of what room was generating abusive traffic.

    Splash-screen/terms-of-service

    DNS redirection is one of the core techniques for establishing captive portals. I rather doubt that many smaller ISPs are doing the "sponsored link" DNS redirect. Maybe things have changed since I left, but I suspect there is no significant benefit and some real cost involved for sponsored redirects for all but the largest ISPs.

    Most of the support calls were over VPN software. Since all traffic was redirected until the splash screen was agreed to, a small but significant segment of VPN client configs broke. I very much suspect that is the real source of the initial posters issues.

  88. Re:MOD PARENT UP: Re:could someone explain what th by Anonymous Coward · · Score: 0

    That problem with that "level of security" is that it is not. If you are afraid of routing between the interfaces, turn off routing, use non-routable (rfc1918) adresses, or block traffic at the firewall from ip-adresses that aren't vpn adresses.

    On the other hand, if you are worried about the PC being hijacked, best case is that preventing the PC from being on both networks at the same time adds a small delay. The infection will happen with the internet connection active, and it will spread when the vpn is active. However, as you should know if you do anything with security, once the PC is compromised, you can't trust *anything*. Including the VPN client. The attacker can change it do send the traffic wherever he wants. That's why it's called "owned". He's the "owner" of the machine now, not you.

  89. "Split tunnel" is also called "transitive trust" by davecb · · Score: 1

    It is possible (as other commentators have noted) to split your traffic between the VPN to work and your regular connection to the internet.

    However, this means that instead of trusting you to keep your machine secure, your employer is trusting everyone you can connect to. Many moons ago, a supplier to two competing banks found out he'd exposed one bank to the other, and earned a life-threatening lawsuit in the process (;-))

    If your employer has no sensitive information on the network you can VPN into, a split tunnel is a good idea. If they have confidential information on the network, it's a poor one, and if they have information shared with customers or connections to customers, it's a company-ending one.

    In principle, you could use Mandatory Access Control rules in SE Linux to protect against this: I've done exactly that using Trusted Solaris, at the expense of a huge chunk of effort but it's out of the question in a Windows shop.

    --dave

    --
    davecb@spamcop.net
  90. OpenDNS....NOT! by Anonymous Coward · · Score: 0

    He could switch to OpenDNS...er...never mind....

    $ cat /etc/resolv.conf
    nameserver 208.67.222.222
    nameserver 208.67.220.220

    $ host opendnssucksabigone.com
    opendnssucksabigone.com has address 208.69.32.132
    Host opendnssucksabigone.com not found: 3(NXDOMAIN)

    $ host 208.69.32.132
    132.32.69.208.in-addr.arpa domain name pointer hit-nxdomain.opendns.com.

    Whoops!

    OpenDNS and the ISPs that use them always f*cks up my shell sessions when I mistype a hostname, since it goes straight to their server and instead of receiving a SERVFAIL or NXDOMAIN.

    Alternative? Run your own DNS cache/resolver

  91. Use your own DNS server by dskoll · · Score: 1

    Any decent VPN software will have the ability to auto-configure the DNS server settings once the VPN link is up. Just have clients use your internal DNS server over the VPN.

    Note that contrary to what other posters are saying, it's not necessary to tunnel all your traffic over the VPN. Just make sure DNS requests go over it.

  92. Hello - Hosts file.... by smammon · · Score: 1

    Put a hosts file on your workers systems. Done.

    And stop advertising or using outside DNS for your internal network. That's like putting a map in your yard to where you keep all of your valuables in your house.

    --
    "Smile, listen, agree, and then do whatever the fuck you wanted to do anyway." ~Robert Downey Jr.
  93. Re:MOD PARENT UP: Re:could someone explain what th by cerberusss · · Score: 1

    Get a SOCKS capable SSH client, and you don't need to set up the tunnel for each connection.

    No but now you need to
    a) hope your applications support SOCKS (for instance Opera doesn't do this)
    b) configure your applications accordingly

    Just sayin'.

    --
    8 of 13 people found this answer helpful. Did you?
  94. FreeHelp by Anonymous Coward · · Score: 0

    use ip address instead of Domains or go for OpenDNS.

  95. just deactivate local lan access by Anonymous Coward · · Score: 0

    the vpn-connected pc will then use the dns-server provided inside your intranet...
    the only bad thing is that you cant access your local network at home (or where ever you are) so network drives and printers are temporarely unavailable...