How can I fix resolving domain names with wireguard? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)dns problem in guest after host connection to vpnUsing pushed DNS from OpenVPN with NetworkManager on Trusty TahrHow do I allow DNS through interface filtering using iptables in Ubuntu HeadlessCan't connect VPN with OpenVPN on Network Manager Ubuntu 14.04 LTSWebmin+dhcp server, domain resolving problemubuntu server fqdn refusing to connect to website only when connected to openvpnWhy the DNS changes after a short time, with an AWS VPN?Resolving internal domains stops randomly while local DNS can still be pingedUbuntu 18.04 ignores DNS pushed by openvpnDNS not working after reboot

Determine whether f is a function, an injection, a surjection

Can't figure this one out.. What is the missing box?

Are my PIs rude or am I just being too sensitive?

Replacing HDD with SSD; what about non-APFS/APFS?

Stop battery usage [Ubuntu 18]

Problem when applying foreach loop

Am I ethically obligated to go into work on an off day if the reason is sudden?

Statistical model of ligand substitution

Does a C shift expression have unsigned type? Why would Splint warn about a right-shift?

Why is "Captain Marvel" translated as male in Portugal?

Did the new image of black hole confirm the general theory of relativity?

I'm thinking of a number

Is there a documented rationale why the House Ways and Means chairman can demand tax info?

Communication vs. Technical skills ,which is more relevant for today's QA engineer positions?

What do you call a plan that's an alternative plan in case your initial plan fails?

What is the largest species of polychaete?

Would an alien lifeform be able to achieve space travel if lacking in vision?

Strange behaviour of Check

What computer would be fastest for Mathematica Home Edition?

When communicating altitude with a '9' in it, should it be pronounced "nine hundred" or "niner hundred"?

What are the performance impacts of 'functional' Rust?

What would be Julian Assange's expected punishment, on the current English criminal law?

What items from the Roman-age tech-level could be used to deter all creatures from entering a small area?

Complexity of many constant time steps with occasional logarithmic steps



How can I fix resolving domain names with wireguard?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)dns problem in guest after host connection to vpnUsing pushed DNS from OpenVPN with NetworkManager on Trusty TahrHow do I allow DNS through interface filtering using iptables in Ubuntu HeadlessCan't connect VPN with OpenVPN on Network Manager Ubuntu 14.04 LTSWebmin+dhcp server, domain resolving problemubuntu server fqdn refusing to connect to website only when connected to openvpnWhy the DNS changes after a short time, with an AWS VPN?Resolving internal domains stops randomly while local DNS can still be pingedUbuntu 18.04 ignores DNS pushed by openvpnDNS not working after reboot



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








0















I've installed Wireguard and I successfully connect to my VPN network but I can't resolve domain names using DNS of the VPN network. I can ping internal nodes and I can get IP address that is bound to the domain by nslookup but ping, curl etc can't do this.



I use openvpn also so resolving of domain names works using openvpn connection works fine.



How can I fix resolving domain names with wireguard?



OS: Ubuntu 18.10










share|improve this question






















  • Could you post contents of /etc/resolv.conf when connected and when not.

    – Pasi Suominen
    Apr 11 at 13:06











  • VPN DOWN vpaste.net/8NMre VPN UP vpaste.net/InbMa

    – ANtlord
    2 days ago












  • please include also your ifconfig and route output. Is your vpn outpoint nameserver 192.168.241.1

    – Pasi Suominen
    yesterday











  • It appears I fixed the issue changing configuration of Name Service Switch (NSS). The service is used by libc to have a deal with name services. So as far as I got my configuration of NSS make resolving stopped if a name is not resolved by Multicast DNS. Long story short I moved dns between mdns4_minimal and [NOTFOUND=return]. See vpaste.net/GYtsP. I'm not sure that it's a solution because I don't understand what happens if a name is not resolved by a DNS host. So I hope to see clarification of that.

    – ANtlord
    10 hours ago

















0















I've installed Wireguard and I successfully connect to my VPN network but I can't resolve domain names using DNS of the VPN network. I can ping internal nodes and I can get IP address that is bound to the domain by nslookup but ping, curl etc can't do this.



I use openvpn also so resolving of domain names works using openvpn connection works fine.



How can I fix resolving domain names with wireguard?



OS: Ubuntu 18.10










share|improve this question






















  • Could you post contents of /etc/resolv.conf when connected and when not.

    – Pasi Suominen
    Apr 11 at 13:06











  • VPN DOWN vpaste.net/8NMre VPN UP vpaste.net/InbMa

    – ANtlord
    2 days ago












  • please include also your ifconfig and route output. Is your vpn outpoint nameserver 192.168.241.1

    – Pasi Suominen
    yesterday











  • It appears I fixed the issue changing configuration of Name Service Switch (NSS). The service is used by libc to have a deal with name services. So as far as I got my configuration of NSS make resolving stopped if a name is not resolved by Multicast DNS. Long story short I moved dns between mdns4_minimal and [NOTFOUND=return]. See vpaste.net/GYtsP. I'm not sure that it's a solution because I don't understand what happens if a name is not resolved by a DNS host. So I hope to see clarification of that.

    – ANtlord
    10 hours ago













0












0








0








I've installed Wireguard and I successfully connect to my VPN network but I can't resolve domain names using DNS of the VPN network. I can ping internal nodes and I can get IP address that is bound to the domain by nslookup but ping, curl etc can't do this.



I use openvpn also so resolving of domain names works using openvpn connection works fine.



How can I fix resolving domain names with wireguard?



OS: Ubuntu 18.10










share|improve this question














I've installed Wireguard and I successfully connect to my VPN network but I can't resolve domain names using DNS of the VPN network. I can ping internal nodes and I can get IP address that is bound to the domain by nslookup but ping, curl etc can't do this.



I use openvpn also so resolving of domain names works using openvpn connection works fine.



How can I fix resolving domain names with wireguard?



OS: Ubuntu 18.10







dns vpn openvpn






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 11 at 12:48









ANtlordANtlord

1




1












  • Could you post contents of /etc/resolv.conf when connected and when not.

    – Pasi Suominen
    Apr 11 at 13:06











  • VPN DOWN vpaste.net/8NMre VPN UP vpaste.net/InbMa

    – ANtlord
    2 days ago












  • please include also your ifconfig and route output. Is your vpn outpoint nameserver 192.168.241.1

    – Pasi Suominen
    yesterday











  • It appears I fixed the issue changing configuration of Name Service Switch (NSS). The service is used by libc to have a deal with name services. So as far as I got my configuration of NSS make resolving stopped if a name is not resolved by Multicast DNS. Long story short I moved dns between mdns4_minimal and [NOTFOUND=return]. See vpaste.net/GYtsP. I'm not sure that it's a solution because I don't understand what happens if a name is not resolved by a DNS host. So I hope to see clarification of that.

    – ANtlord
    10 hours ago

















  • Could you post contents of /etc/resolv.conf when connected and when not.

    – Pasi Suominen
    Apr 11 at 13:06











  • VPN DOWN vpaste.net/8NMre VPN UP vpaste.net/InbMa

    – ANtlord
    2 days ago












  • please include also your ifconfig and route output. Is your vpn outpoint nameserver 192.168.241.1

    – Pasi Suominen
    yesterday











  • It appears I fixed the issue changing configuration of Name Service Switch (NSS). The service is used by libc to have a deal with name services. So as far as I got my configuration of NSS make resolving stopped if a name is not resolved by Multicast DNS. Long story short I moved dns between mdns4_minimal and [NOTFOUND=return]. See vpaste.net/GYtsP. I'm not sure that it's a solution because I don't understand what happens if a name is not resolved by a DNS host. So I hope to see clarification of that.

    – ANtlord
    10 hours ago
















Could you post contents of /etc/resolv.conf when connected and when not.

– Pasi Suominen
Apr 11 at 13:06





Could you post contents of /etc/resolv.conf when connected and when not.

– Pasi Suominen
Apr 11 at 13:06













VPN DOWN vpaste.net/8NMre VPN UP vpaste.net/InbMa

– ANtlord
2 days ago






VPN DOWN vpaste.net/8NMre VPN UP vpaste.net/InbMa

– ANtlord
2 days ago














please include also your ifconfig and route output. Is your vpn outpoint nameserver 192.168.241.1

– Pasi Suominen
yesterday





please include also your ifconfig and route output. Is your vpn outpoint nameserver 192.168.241.1

– Pasi Suominen
yesterday













It appears I fixed the issue changing configuration of Name Service Switch (NSS). The service is used by libc to have a deal with name services. So as far as I got my configuration of NSS make resolving stopped if a name is not resolved by Multicast DNS. Long story short I moved dns between mdns4_minimal and [NOTFOUND=return]. See vpaste.net/GYtsP. I'm not sure that it's a solution because I don't understand what happens if a name is not resolved by a DNS host. So I hope to see clarification of that.

– ANtlord
10 hours ago





It appears I fixed the issue changing configuration of Name Service Switch (NSS). The service is used by libc to have a deal with name services. So as far as I got my configuration of NSS make resolving stopped if a name is not resolved by Multicast DNS. Long story short I moved dns between mdns4_minimal and [NOTFOUND=return]. See vpaste.net/GYtsP. I'm not sure that it's a solution because I don't understand what happens if a name is not resolved by a DNS host. So I hope to see clarification of that.

– ANtlord
10 hours ago










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/3.0/"u003ecc by-sa 3.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%2f1132981%2fhow-can-i-fix-resolving-domain-names-with-wireguard%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%2f1132981%2fhow-can-i-fix-resolving-domain-names-with-wireguard%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

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü