LinuxQuestions.org
Review your favorite Linux distribution.
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 07-09-2015, 04:22 PM   #1
Lnthink
Member
 
Registered: May 2010
Location: Lafayette, LA
Distribution: Ubuntu, RH, Fedora
Posts: 44

Rep: Reputation: 11
Fedora - how to configure subnet prioritization for my workstation


Hi all,

I have a machine that returns two ip addresses from dns. I'm only on one of the networks, not both. Sometimes when I ping the server, it does sort of a round-robin, and I get the address of the network that I'm not on.

How can I get prioritization of answers from my resolver for the networks that I'm actually on, versus the one I'm not?

Thank you!
PS I seem to be able to find articles for this for Windows, but having trouble for Linux.
PPS I'm using Fedora 22.
 
Old 07-09-2015, 11:45 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
How can I get prioritization of answers from my resolver for the networks that I'm actually on, versus the one I'm not?
The address resolution is being handled by DNS servers, so the short answer is, contact your domain administrator.
 
Old 07-10-2015, 08:44 AM   #3
Lnthink
Member
 
Registered: May 2010
Location: Lafayette, LA
Distribution: Ubuntu, RH, Fedora
Posts: 44

Original Poster
Rep: Reputation: 11
found the answer

To fix this, one must use "gai".
Unfortunately, the man pages for gai are centered on IPv6.
So, you have to go out there and find a solution for IPV4.

I'd post the answer, but there is no interest in the question, other than "contact your administrator", LOL.
 
Old 07-10-2015, 12:00 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
More a general disinterest in helping people spoof DNS servers... which is how one normally ends up in the spot your trying to get yourself out of.
 
  


Reply

Tags
dns, priority, subnet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Fedora Present and Future: a Fedora.next 2014 Update (Part IV.d, “Fedora Workstation”) LXer Syndicated Linux News 0 06-02-2014 10:20 PM
[SOLVED] Add second subnet on eth0 to configure new wifi router rshepard Slackware 1 08-11-2013 03:58 PM
How To Configure KVM with a Public IP Address Network that is on a Different subnet moe007 Linux - Virtualization and Cloud 5 09-13-2011 02:56 PM
Trying to configure shorewall to allow bridged vpn traffic to the local subnet perlchun Linux - Networking 4 06-25-2008 09:13 PM
How can I configure BIND outside a subnet erik_wout_ew2 Linux - Networking 7 10-30-2004 12:29 PM

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

All times are GMT -5. The time now is 05:07 PM.

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