💻 Software
How can I set up Linux to use a different DNS server for a certain domain?
Fresh5 days ago
Mar 15, 20266234 viewsConfidence Score0%
0%
Problem
I can add DNS servers to resolv.conf and that works fine. But is it possible for me to call a different DNS server based on the domain trying to be resolved? For example: Edit: adding more detail. I am trying to VPN into my company's server. Everything almost works great following this guide: http:…
Error Output
use 10.0.0.1 for everything except use 10.0.0.2 for "mycompany.net"
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I set up Linux to use a different DNS server for a certain domain?
Low Risk
Not directly. But you could run your own local DNS server which is configured with details to serve for mycompany.net and forward requests for other domains to your normal servers. I may not be reading your question right - can you go into more deta…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix