Project

General

Profile

Actions

Bug #12604

closed

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

  • Is duplicate of : win32/resolv.rb may add outdated nameservers added

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

  • Description updated (diff)

Maybe, does GetNetworkParams() work?

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

I can't find an API to achieve the DNS search list.

https://.com/ruby/ruby/compare/trunk...nobu:bug/12604-win32-resolv-connected-only

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

  • Status changed from Open to Closed

Applied in changeset r55781.


win32/resolv: get_dns_server_list

  • ext/win32/resolv/resolv.c (get_dns_server_list): [Win32] get DNS
    servers only for connected network devices by GetNetworkParams
    API. [Bug ]

Updated by usa (Usaku NAKAMURA) almost 9 years ago

  • Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago

  • Backport changed from 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: WONTFIX, 2.2: REQUIRED, 2.3: DONE

ruby_2_3 r57571 merged revision(s) 55781,55783.

Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago

  • Backport changed from 2.1: WONTFIX, 2.2: REQUIRED, 2.3: DONE to 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED

I reverted r57571 at r57626. r57571 broke RubyCI on vc12-x64.
http://13.78.52.201/vc12-x64/ruby-2.3/log/20170207T182419Z.log.html.gz
I cannot have time to see in details to fix it just now, I temporarily reverted it.

Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago

r57629 is also need to be backported.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0