PDA

View Full Version : SLED 11 SP4 Dual Stack configuration



kanniganti
24-Sep-2018, 17:48
We are using an application on Dual stack the issue is using hostname it is connecting to the IPV4.
How we can configure client browsing from Windows use IPV6 as priority to connect to server.
Any configuration can be changed on Dual stack to accept connections on IPV6 and if IPV6 is not available it has to connect to IPV4 seamless by the application.
Please suggest

ab
24-Sep-2018, 21:11
Is the windows box configured to use IPv6? If so, when you write "using
hostname" do you mean a DNS name, I hope, and not just some simple
hostname? If so, does the windows box ask the DNS box for an AAAA (IPv6)
record rather than an A (IPv4) record? If so, does the DNS service
provide AAAA records for this box properly?


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

jmozdzen
27-Sep-2018, 15:03
Hi kanniganti,

> connections on IPV6 and if IPV6 is not available it has to connect to IPV4 seamless by the application

In general, this seems to be a purely client-side issue: The client will at some point check for DNS names - asking i.e. for an "A" record (and will receive an IPv4 address with the reply) or an "AAAA" record (and receive an IPv6 address). So you'd have to configure your client to ask for the IPv6 address first. If it supports connecting to multiple servers, you could provide different DNS server names in the right order to your application. Or if the application is dual-stack enabled, maybe it does have an option to first query the AAAA record (with the same name as the A record)? If the client retrieves the server information via SRV records, you ought to be able to just set correct priorities with two or more SRV records, some pointing to the IPv4 DNS name and others pointing to the IPv6 DNS name.

Generally, it boils down to "what does your client offer, how will it determine the server to connect to?"

Regards,
J