LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-02-2015, 02:52 PM   #1
lamic
Member
 
Registered: Jan 2013
Posts: 37

Rep: Reputation: Disabled
Issue adding multiple DNS servers on Linux Mint


Hi All,
I recently created vm box with Linux Mint, but im having issue adding multiple nameservers.My VM is set up with NAT.The issue i'm having is, if i set my DNS to 8.8.8.8 through network manager, im not able to resolv names on internal network, but if i change dns settings to use the internal server i cant resolv anything on internet. I tried everything i could think of, until my system got messed up.
 
Old 09-02-2015, 04:11 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
How is your internal DNS server configured? It should be set to fall back on an external DNS if the name isn't on its list.
 
Old 09-02-2015, 04:29 PM   #3
lamic
Member
 
Registered: Jan 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
Not sure about the internal dns server config. I don't have access to it. What i recently tried was editing /etc/dhcp/dhclient.conf/head
and adding few dns entries. Also,commented out dns=dnsmasq line in /etc/NetworkManager/NetworkManager.conf then restarted network manager.
When i do cat /etc/resolv.conf , i can see the dns entries i made in dhslient.conf, but when i right click on network-manager and click on Connection Information ,i don't see any DNS
 
Old 09-02-2015, 05:11 PM   #4
lamic
Member
 
Registered: Jan 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
Also, i just used nslookup and found out that when i do nslookup www.yahoo.com i get:
[code]
;; Got recursion not available from a.a.a.a , trying next server
[code]
I'm not sure why is this happening. In dhclient.conf file the order is following:
Code:
supersede domain-name-servers 8.8.8.8, a.a.a.a;
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script for adding multiple users on multiple servers. newtech Linux - Newbie 3 04-07-2015 03:58 AM
Best Practice for multiple DNS Servers fruitwerks Linux - Server 3 04-22-2013 02:13 AM
DNS Questions Multiple DNS Servers with single domain linuxcrazyguy Linux - Networking 1 01-27-2009 12:21 PM
DNS and multiple servers Tmacdaddy Linux - Networking 1 06-08-2005 04:52 AM
multiple DNS servers kvtournh Mandriva 1 11-26-2003 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration