VPN not setting correct DNS serverVPN not setting all DNS nameservershow to setup split-dns for vpn with network-managergetting openconnect vpn to work through network-manager16.10 fail to resolve DNSMake DNS follow configuration from Network Manager in 19.04

Morphing between two functions

How many 1/day spells can a Warlock monster cast?

What were the prevailing real-life cultural connotations of "clones" in 1975 (Star Wars' 3rd draft)?

Open problems from antiquity solved with analytic geometry

siunitx: "inter-unit-product" doesn't work as expected

SD Card speed degrading and doesn't work on one of my cameras: can I do something?

Fantasy story about a knife that can cut holes to other dimensions

Are banter blitz players who draw arrows on the board during the game breaking the FIDE Laws of Chess?

How to write the given block matrix

Cut some segment from sphere in TiKz

A professor commented that my research is too simple as compared to my colleagues. What does that mean about my future prospects?

Check the validity of a telephone number

What is a good way to challenge an Agonizing Blast Warlock?

How would an unethical corporation go about extracting resources from a nation unwilling to co-operate?

Cooking octopus: simple boil or broth?

Why was Wouter Basson never charged with crimes against humanity for Project Coast?

An employer is trying to force me to switch banks, which I know is illegal. What should I do?

Novel where a serial killer lives (almost) forever by swapping bodies

Monoidal category that is not spacial

How do I obtain the debian-installer for Ubuntu Server 18.04.3 LTS?

Possible executive assistant job scam

Draw circle using characters

Pi to the power y, for small y's

Why is it “Cat in the Hat”?



VPN not setting correct DNS server


VPN not setting all DNS nameservershow to setup split-dns for vpn with network-managergetting openconnect vpn to work through network-manager16.10 fail to resolve DNSMake DNS follow configuration from Network Manager in 19.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1

















I set my VPN connection to explicitly use 192.168.253.65 server but my Ubuntu (19.04) does not do that. It tries to resolves servers from other IP addresses and fails to do so.
The /etc/resolv.conf gets filled up with other servers I do not know.



My ubuntu 18.04 LTS seems to have behaved differently. Would you have any ideas? What to try? What could be a problem? THanks.



enter image description here



Update:



  • the one that behaves correctly was Ubuntu 18.04LTS

  • 19.04 Ubuntu gave me the above problems.

On both of them I used network manager and I have configured it the same way for SSTP VPN.



sudo add-apt-repository ppa:eivnaes/network-manager-sstp
sudo apt-get install sstp-client


When connecting on UBUNTU 19.04 (problems) - I saw that DNS showed some errors? / and it used limited feature set (DNS). I think this might be somehow related to resolving DNS.










share|improve this question























  • 1





    could we have a little more context? where else do you do something like this? on a windows? what steps did you take there for it to work?

    – tatsu
    Jul 16 at 15:17






  • 1





    Also, which VPN are you using and which instructions did you use to set it up? You said your 18.04 behaved differently? Which version are you having the problem on? Could you post your ifconfig info too please? May help.

    – jwcooper
    Jul 16 at 15:45












  • Hi @tatsu. thanks for message. I gave some more info. Still investigating the problems. The issues where between two differentr version of ubuntu.

    – Witold Kaczurba
    Jul 16 at 20:40











  • Hi @jwcooper. thanks for message. I gave some more info. The ifconfigs and routes looked very similar.

    – Witold Kaczurba
    Jul 16 at 20:40











  • Could you please post the errors that DNS showed? If you're 100% sure that everything is identical between your 18.04 and 19.04 installs, then it could just be that they've changed something that is no longer compatible with the sstp-client library. In that case, we just need to find out what it doesnt like and change it. Also, what are the addresses that it is putting in the /etc/resolv.conf file?

    – jwcooper
    Jul 17 at 11:13

















1

















I set my VPN connection to explicitly use 192.168.253.65 server but my Ubuntu (19.04) does not do that. It tries to resolves servers from other IP addresses and fails to do so.
The /etc/resolv.conf gets filled up with other servers I do not know.



My ubuntu 18.04 LTS seems to have behaved differently. Would you have any ideas? What to try? What could be a problem? THanks.



enter image description here



Update:



  • the one that behaves correctly was Ubuntu 18.04LTS

  • 19.04 Ubuntu gave me the above problems.

On both of them I used network manager and I have configured it the same way for SSTP VPN.



sudo add-apt-repository ppa:eivnaes/network-manager-sstp
sudo apt-get install sstp-client


When connecting on UBUNTU 19.04 (problems) - I saw that DNS showed some errors? / and it used limited feature set (DNS). I think this might be somehow related to resolving DNS.










share|improve this question























  • 1





    could we have a little more context? where else do you do something like this? on a windows? what steps did you take there for it to work?

    – tatsu
    Jul 16 at 15:17






  • 1





    Also, which VPN are you using and which instructions did you use to set it up? You said your 18.04 behaved differently? Which version are you having the problem on? Could you post your ifconfig info too please? May help.

    – jwcooper
    Jul 16 at 15:45












  • Hi @tatsu. thanks for message. I gave some more info. Still investigating the problems. The issues where between two differentr version of ubuntu.

    – Witold Kaczurba
    Jul 16 at 20:40











  • Hi @jwcooper. thanks for message. I gave some more info. The ifconfigs and routes looked very similar.

    – Witold Kaczurba
    Jul 16 at 20:40











  • Could you please post the errors that DNS showed? If you're 100% sure that everything is identical between your 18.04 and 19.04 installs, then it could just be that they've changed something that is no longer compatible with the sstp-client library. In that case, we just need to find out what it doesnt like and change it. Also, what are the addresses that it is putting in the /etc/resolv.conf file?

    – jwcooper
    Jul 17 at 11:13













1












1








1








I set my VPN connection to explicitly use 192.168.253.65 server but my Ubuntu (19.04) does not do that. It tries to resolves servers from other IP addresses and fails to do so.
The /etc/resolv.conf gets filled up with other servers I do not know.



My ubuntu 18.04 LTS seems to have behaved differently. Would you have any ideas? What to try? What could be a problem? THanks.



enter image description here



Update:



  • the one that behaves correctly was Ubuntu 18.04LTS

  • 19.04 Ubuntu gave me the above problems.

On both of them I used network manager and I have configured it the same way for SSTP VPN.



sudo add-apt-repository ppa:eivnaes/network-manager-sstp
sudo apt-get install sstp-client


When connecting on UBUNTU 19.04 (problems) - I saw that DNS showed some errors? / and it used limited feature set (DNS). I think this might be somehow related to resolving DNS.










share|improve this question

















I set my VPN connection to explicitly use 192.168.253.65 server but my Ubuntu (19.04) does not do that. It tries to resolves servers from other IP addresses and fails to do so.
The /etc/resolv.conf gets filled up with other servers I do not know.



My ubuntu 18.04 LTS seems to have behaved differently. Would you have any ideas? What to try? What could be a problem? THanks.



enter image description here



Update:



  • the one that behaves correctly was Ubuntu 18.04LTS

  • 19.04 Ubuntu gave me the above problems.

On both of them I used network manager and I have configured it the same way for SSTP VPN.



sudo add-apt-repository ppa:eivnaes/network-manager-sstp
sudo apt-get install sstp-client


When connecting on UBUNTU 19.04 (problems) - I saw that DNS showed some errors? / and it used limited feature set (DNS). I think this might be somehow related to resolving DNS.







dns vpn resolv.conf






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Jul 16 at 20:38







Witold Kaczurba

















asked Jul 16 at 15:02









Witold KaczurbaWitold Kaczurba

1465 bronze badges




1465 bronze badges










  • 1





    could we have a little more context? where else do you do something like this? on a windows? what steps did you take there for it to work?

    – tatsu
    Jul 16 at 15:17






  • 1





    Also, which VPN are you using and which instructions did you use to set it up? You said your 18.04 behaved differently? Which version are you having the problem on? Could you post your ifconfig info too please? May help.

    – jwcooper
    Jul 16 at 15:45












  • Hi @tatsu. thanks for message. I gave some more info. Still investigating the problems. The issues where between two differentr version of ubuntu.

    – Witold Kaczurba
    Jul 16 at 20:40











  • Hi @jwcooper. thanks for message. I gave some more info. The ifconfigs and routes looked very similar.

    – Witold Kaczurba
    Jul 16 at 20:40











  • Could you please post the errors that DNS showed? If you're 100% sure that everything is identical between your 18.04 and 19.04 installs, then it could just be that they've changed something that is no longer compatible with the sstp-client library. In that case, we just need to find out what it doesnt like and change it. Also, what are the addresses that it is putting in the /etc/resolv.conf file?

    – jwcooper
    Jul 17 at 11:13












  • 1





    could we have a little more context? where else do you do something like this? on a windows? what steps did you take there for it to work?

    – tatsu
    Jul 16 at 15:17






  • 1





    Also, which VPN are you using and which instructions did you use to set it up? You said your 18.04 behaved differently? Which version are you having the problem on? Could you post your ifconfig info too please? May help.

    – jwcooper
    Jul 16 at 15:45












  • Hi @tatsu. thanks for message. I gave some more info. Still investigating the problems. The issues where between two differentr version of ubuntu.

    – Witold Kaczurba
    Jul 16 at 20:40











  • Hi @jwcooper. thanks for message. I gave some more info. The ifconfigs and routes looked very similar.

    – Witold Kaczurba
    Jul 16 at 20:40











  • Could you please post the errors that DNS showed? If you're 100% sure that everything is identical between your 18.04 and 19.04 installs, then it could just be that they've changed something that is no longer compatible with the sstp-client library. In that case, we just need to find out what it doesnt like and change it. Also, what are the addresses that it is putting in the /etc/resolv.conf file?

    – jwcooper
    Jul 17 at 11:13







1




1





could we have a little more context? where else do you do something like this? on a windows? what steps did you take there for it to work?

– tatsu
Jul 16 at 15:17





could we have a little more context? where else do you do something like this? on a windows? what steps did you take there for it to work?

– tatsu
Jul 16 at 15:17




1




1





Also, which VPN are you using and which instructions did you use to set it up? You said your 18.04 behaved differently? Which version are you having the problem on? Could you post your ifconfig info too please? May help.

– jwcooper
Jul 16 at 15:45






Also, which VPN are you using and which instructions did you use to set it up? You said your 18.04 behaved differently? Which version are you having the problem on? Could you post your ifconfig info too please? May help.

– jwcooper
Jul 16 at 15:45














Hi @tatsu. thanks for message. I gave some more info. Still investigating the problems. The issues where between two differentr version of ubuntu.

– Witold Kaczurba
Jul 16 at 20:40





Hi @tatsu. thanks for message. I gave some more info. Still investigating the problems. The issues where between two differentr version of ubuntu.

– Witold Kaczurba
Jul 16 at 20:40













Hi @jwcooper. thanks for message. I gave some more info. The ifconfigs and routes looked very similar.

– Witold Kaczurba
Jul 16 at 20:40





Hi @jwcooper. thanks for message. I gave some more info. The ifconfigs and routes looked very similar.

– Witold Kaczurba
Jul 16 at 20:40













Could you please post the errors that DNS showed? If you're 100% sure that everything is identical between your 18.04 and 19.04 installs, then it could just be that they've changed something that is no longer compatible with the sstp-client library. In that case, we just need to find out what it doesnt like and change it. Also, what are the addresses that it is putting in the /etc/resolv.conf file?

– jwcooper
Jul 17 at 11:13





Could you please post the errors that DNS showed? If you're 100% sure that everything is identical between your 18.04 and 19.04 installs, then it could just be that they've changed something that is no longer compatible with the sstp-client library. In that case, we just need to find out what it doesnt like and change it. Also, what are the addresses that it is putting in the /etc/resolv.conf file?

– jwcooper
Jul 17 at 11:13










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158696%2fvpn-not-setting-correct-dns-server%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158696%2fvpn-not-setting-correct-dns-server%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?