This project is read-only.

DNS Server assignment when dialing with DotRas

Jun 6, 2011 at 5:56 PM

Hi guys,

I am sure I am missing something, but when I dial a connection with DotRas, no DNS server is assigned (although the connection is set-up up to do so). When I dial the same connection from through the windows UI, a DNS server is indeed assigned.

Is there a setting on the dialler that I am missing?



Jun 7, 2011 at 1:38 AM

Hi Chris,

Hmmm, very strange. I must say I've never heard of that happening in the past 3 years. There isn't a specific setting on RasDialer that would enable or disable the DNS entries from being set. Are you creating the connection manually within your application? Whether or not the connection has a DNS entry is a configuration setting on the entry, not something on the dialer component.

I guess I'd start by asking:

  1. How are you dialing the connection, and can you post any code?
  2. Are you creating the connection manually, and can you post any code?
  3. What operating system(s) are you targetting?
  4. What is the full version (major, minor, revision, and build) of the assembly?
  5. Which operating system are you seeing the problem with, and is it isolated to that particular operating system?