Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - How to Fix the Source IP used in DNS Request sent from system.: Page 1 of 8 (8 Items)
   
How to Fix the Source IP used in DNS Request sent from system.  
Hi,

We were developing an application which requires DNS Resolution for certain configured URIs.
Now i understand that this can be done by using APIs gethostbyname or getaddrinfo.

However we have an additional problem to handle. The DNS request sent to the DNS server should use a fixed known Source 
IP address in the packets sent towards DNS Server. Is it possible to force/specify DNS Service to use a fixed Source IP?
 
We have multiple logical IP addresses configured on an interface. We just want that DNS resolution should somehow be 
carried out using 1 specific Source IP address in the pkts sent towards DNS Server.

BR
Sajal