DNS to dispatch hostname to multiple ipRegular expression to match DNS hostname or IP Address?Create subdomains on the fly with .htaccess (PHP)Python lookup hostname from IP with 1 second timeoutHow to configure heroku application DNS to Godaddy Domain?Static hosting on Amazon S3 - DNS ConfigurationCan I map a hostname *and* a port with /etc/hosts?active directory dns - how forward external hostnameQuery docker embedded dns from hostMultiple domains laravelUnbound dns server response throwaway when queried for local lan hostnames
Is my Rep in Stack-Exchange Form?
Is adding a new player (or players) a DM decision, or a group decision?
When is it ok to add filler to a story?
What do you call the action of someone tackling a stronger person?
Execute command as you drink a water bottle
Layout of complex table
How risky is real estate?
Is this one of the engines from the 9/11 aircraft?
How come I was asked by a CBP officer why I was in the US?
How can I repair scratches on a painted French door?
How can I convince my reader that I will not use a certain trope?
What's the difference between 予定 (Yotei) and 計画 (keikaku)?
Does Marvel have an equivalent of the Green Lantern?
Go Get the Six Six-Pack
Is there any set of 2-6 notes that doesn't have a chord name?
Short story with brother-sister conjoined twins as protagonist?
How to perform Login Authentication at the client-side?
Links to webpages in books
First-year PhD giving a talk among well-established researchers in the field
Animation advice please (sliding pipes with handles)
Does squid ink pasta bleed?
Would a two-seat light aircaft with a landing speed of 20 knots and a top speed of 180 knots be technically possible?
How well known and how commonly used was Huffman coding in 1979?
Intuitively, why does putting capacitors in series decrease the equivalent capacitance?
DNS to dispatch hostname to multiple ip
Regular expression to match DNS hostname or IP Address?Create subdomains on the fly with .htaccess (PHP)Python lookup hostname from IP with 1 second timeoutHow to configure heroku application DNS to Godaddy Domain?Static hosting on Amazon S3 - DNS ConfigurationCan I map a hostname *and* a port with /etc/hosts?active directory dns - how forward external hostnameQuery docker embedded dns from hostMultiple domains laravelUnbound dns server response throwaway when queried for local lan hostnames
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Do you think it is possible to dispatch a query to myservice.mysite.example to multiple ip ?
Ex:
a query to myservice.mysite.example
will dispatch on theses ips
X.X.X.X
and
x.X.X.Y
the same query
I'm looking for a way to not create a dispatcher app by doing this directly in DNS configuration.
dns
add a comment |
Do you think it is possible to dispatch a query to myservice.mysite.example to multiple ip ?
Ex:
a query to myservice.mysite.example
will dispatch on theses ips
X.X.X.X
and
x.X.X.Y
the same query
I'm looking for a way to not create a dispatcher app by doing this directly in DNS configuration.
dns
Yes, this is called round-robin DNS and is a stand feature.
– Jonathon Reinhart
Mar 25 at 11:06
It seems round-robin to round on ip and not dispatch on all ip
– Osin Toumani
Mar 25 at 13:16
That's not how HTTP works...
– Jonathon Reinhart
Mar 26 at 1:42
add a comment |
Do you think it is possible to dispatch a query to myservice.mysite.example to multiple ip ?
Ex:
a query to myservice.mysite.example
will dispatch on theses ips
X.X.X.X
and
x.X.X.Y
the same query
I'm looking for a way to not create a dispatcher app by doing this directly in DNS configuration.
dns
Do you think it is possible to dispatch a query to myservice.mysite.example to multiple ip ?
Ex:
a query to myservice.mysite.example
will dispatch on theses ips
X.X.X.X
and
x.X.X.Y
the same query
I'm looking for a way to not create a dispatcher app by doing this directly in DNS configuration.
dns
dns
edited Mar 25 at 16:47
Florian Weimer
18.8k3 gold badges12 silver badges49 bronze badges
18.8k3 gold badges12 silver badges49 bronze badges
asked Mar 25 at 11:01
Osin ToumaniOsin Toumani
4221 gold badge4 silver badges12 bronze badges
4221 gold badge4 silver badges12 bronze badges
Yes, this is called round-robin DNS and is a stand feature.
– Jonathon Reinhart
Mar 25 at 11:06
It seems round-robin to round on ip and not dispatch on all ip
– Osin Toumani
Mar 25 at 13:16
That's not how HTTP works...
– Jonathon Reinhart
Mar 26 at 1:42
add a comment |
Yes, this is called round-robin DNS and is a stand feature.
– Jonathon Reinhart
Mar 25 at 11:06
It seems round-robin to round on ip and not dispatch on all ip
– Osin Toumani
Mar 25 at 13:16
That's not how HTTP works...
– Jonathon Reinhart
Mar 26 at 1:42
Yes, this is called round-robin DNS and is a stand feature.
– Jonathon Reinhart
Mar 25 at 11:06
Yes, this is called round-robin DNS and is a stand feature.
– Jonathon Reinhart
Mar 25 at 11:06
It seems round-robin to round on ip and not dispatch on all ip
– Osin Toumani
Mar 25 at 13:16
It seems round-robin to round on ip and not dispatch on all ip
– Osin Toumani
Mar 25 at 13:16
That's not how HTTP works...
– Jonathon Reinhart
Mar 26 at 1:42
That's not how HTTP works...
– Jonathon Reinhart
Mar 26 at 1:42
add a comment |
1 Answer
1
active
oldest
votes
The purpose of the DNS in your specific example is to match one name to one IP address.
You can publish multiple records for the same type and owner, let us see one example:
dig duckduckgo.com A +short
107.20.240.232
23.21.193.169
184.72.104.138
The name duckduckgo.com resolves right now to 3 IPv4 addresses.
It is typically used for load balancing (not fail-over) in a round robin fashion because typically again each time you query it you will get the set of addresses ordered differently.
This is all given back by the OS to the calling application... which then decides what to do.
Web browsers need to do one connection so they will pick up the first IP address they got, try to connect, wait a little, if it fails, try again with second IP, etc. until having tried all or having succeeded (this is a simplified algorithm, specifically because of IPv6 addresses too things are more complicated).
Web browsers do not connect to multiple IP addresses at the same time for the same name, so now just the DNS will not trigger an application to open multiple connections just because they were multiple addresses in the DNS.
Your needs are not very clear at this stage, nor it is very related to programming (you are not showing any code).
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55336317%2fdns-to-dispatch-hostname-to-multiple-ip%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The purpose of the DNS in your specific example is to match one name to one IP address.
You can publish multiple records for the same type and owner, let us see one example:
dig duckduckgo.com A +short
107.20.240.232
23.21.193.169
184.72.104.138
The name duckduckgo.com resolves right now to 3 IPv4 addresses.
It is typically used for load balancing (not fail-over) in a round robin fashion because typically again each time you query it you will get the set of addresses ordered differently.
This is all given back by the OS to the calling application... which then decides what to do.
Web browsers need to do one connection so they will pick up the first IP address they got, try to connect, wait a little, if it fails, try again with second IP, etc. until having tried all or having succeeded (this is a simplified algorithm, specifically because of IPv6 addresses too things are more complicated).
Web browsers do not connect to multiple IP addresses at the same time for the same name, so now just the DNS will not trigger an application to open multiple connections just because they were multiple addresses in the DNS.
Your needs are not very clear at this stage, nor it is very related to programming (you are not showing any code).
add a comment |
The purpose of the DNS in your specific example is to match one name to one IP address.
You can publish multiple records for the same type and owner, let us see one example:
dig duckduckgo.com A +short
107.20.240.232
23.21.193.169
184.72.104.138
The name duckduckgo.com resolves right now to 3 IPv4 addresses.
It is typically used for load balancing (not fail-over) in a round robin fashion because typically again each time you query it you will get the set of addresses ordered differently.
This is all given back by the OS to the calling application... which then decides what to do.
Web browsers need to do one connection so they will pick up the first IP address they got, try to connect, wait a little, if it fails, try again with second IP, etc. until having tried all or having succeeded (this is a simplified algorithm, specifically because of IPv6 addresses too things are more complicated).
Web browsers do not connect to multiple IP addresses at the same time for the same name, so now just the DNS will not trigger an application to open multiple connections just because they were multiple addresses in the DNS.
Your needs are not very clear at this stage, nor it is very related to programming (you are not showing any code).
add a comment |
The purpose of the DNS in your specific example is to match one name to one IP address.
You can publish multiple records for the same type and owner, let us see one example:
dig duckduckgo.com A +short
107.20.240.232
23.21.193.169
184.72.104.138
The name duckduckgo.com resolves right now to 3 IPv4 addresses.
It is typically used for load balancing (not fail-over) in a round robin fashion because typically again each time you query it you will get the set of addresses ordered differently.
This is all given back by the OS to the calling application... which then decides what to do.
Web browsers need to do one connection so they will pick up the first IP address they got, try to connect, wait a little, if it fails, try again with second IP, etc. until having tried all or having succeeded (this is a simplified algorithm, specifically because of IPv6 addresses too things are more complicated).
Web browsers do not connect to multiple IP addresses at the same time for the same name, so now just the DNS will not trigger an application to open multiple connections just because they were multiple addresses in the DNS.
Your needs are not very clear at this stage, nor it is very related to programming (you are not showing any code).
The purpose of the DNS in your specific example is to match one name to one IP address.
You can publish multiple records for the same type and owner, let us see one example:
dig duckduckgo.com A +short
107.20.240.232
23.21.193.169
184.72.104.138
The name duckduckgo.com resolves right now to 3 IPv4 addresses.
It is typically used for load balancing (not fail-over) in a round robin fashion because typically again each time you query it you will get the set of addresses ordered differently.
This is all given back by the OS to the calling application... which then decides what to do.
Web browsers need to do one connection so they will pick up the first IP address they got, try to connect, wait a little, if it fails, try again with second IP, etc. until having tried all or having succeeded (this is a simplified algorithm, specifically because of IPv6 addresses too things are more complicated).
Web browsers do not connect to multiple IP addresses at the same time for the same name, so now just the DNS will not trigger an application to open multiple connections just because they were multiple addresses in the DNS.
Your needs are not very clear at this stage, nor it is very related to programming (you are not showing any code).
answered Mar 25 at 15:51
Patrick MevzekPatrick Mevzek
4,4419 gold badges19 silver badges31 bronze badges
4,4419 gold badges19 silver badges31 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55336317%2fdns-to-dispatch-hostname-to-multiple-ip%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Yes, this is called round-robin DNS and is a stand feature.
– Jonathon Reinhart
Mar 25 at 11:06
It seems round-robin to round on ip and not dispatch on all ip
– Osin Toumani
Mar 25 at 13:16
That's not how HTTP works...
– Jonathon Reinhart
Mar 26 at 1:42