Network configuration
Default routes, the host DNS domain and the machine proxy settings.
Topic id: network_config.
Changes (2)
This topic reports what the host looks like, so its news is what CHANGED between two reports. Each change below is a named fact you can ask about across the fleet.winhttp_proxy_changed The static machine-wide proxy changed: its mode (direct access or a named proxy), its proxy servers, or its bypass list. netsh winhttp set proxy, netsh winhttp import proxy source=ie, a deployment script or RMM policy, and VPN or security clients set it; so does unwanted software that routes traffic through a proxy of its own. Browser and per-user proxy settings, automatic configuration scripts (PAC) and WPAD are separate and do not raise it.
- The old and new proxy and bypass list in the event.
netsh winhttp show proxyon the machine.- Whether the proxy answers from the machine:
Test-NetConnection <proxy> -Port <port>. - If nobody meant to set it,
netsh winhttp reset proxyreturns the machine to direct access.
WinHTTP proxy changed. added_winhttp_default_proxy_endpoints="proxy.example.com port 8443" removed_winhttp_default_proxy_endpoints="proxy.example.com port 443".
winhttp_proxy_changed, Notice, network_config: winhttp_proxy_changed: NOTABLE: WinHTTP proxy changed. added_winhttp_default_proxy_endpoints="proxy.example.com port 8443" removed_winhttp_default_proxy_endpoints="proxy.example.com port 443".primary_dns_suffix_changed Windows takes the primary DNS suffix from the machine's domain when it joins one, from the Group Policy "Primary DNS suffix" setting, or from System Properties, Computer Name, More. A domain join, a move to another domain, or a policy rolled out during a merger or migration is the usual cause. Changes to the DNS suffix search list, or to an adapter's own connection-specific suffix, do not raise it.
- The old and new suffix in the event against the client's domain name.
ipconfig /allshows the Primary Dns Suffix and the search list in use.- Whether a Group Policy object sets it (Computer Configuration, Administrative Templates, Network, DNS Client, Primary DNS suffix):
gpresult /h <file>. ipconfig /registerdns, then the DNS zones: a record under the new suffix, and a stale one left under the old.
primary DNS suffix changed. old_dns_domain="example.local" new_dns_domain="corp.example.com".
primary_dns_suffix_changed, Notice, network_config: primary_dns_suffix_changed: NOTABLE: primary DNS suffix changed. old_dns_domain="example.local" new_dns_domain="corp.example.com".Fields (27)
Default routes by adapter, the host DNS domain and legacy resolvers, and the machine's default WinHTTP proxy.
Full inventory every hour. Supported changes are reported when the agent observes them.
Default routes (10)
sparklogs.data.network_config. default_routes adapter, family, next_hop, route metric, native protocol_code and origin_code, ordered by those, and their decodes protocol (unlisted codes read unknown) and origin (manual, well_known, dhcp, router_advertisement, 6to4). Neither tells a DHCP gateway from a static one: both read netmgmt and manual. No claim about which route wins or reaches anything.sparklogs.data.network_config. default_routes[].adapter default_routes entry.sparklogs.data.network_config. default_routes[].family default_routes entry.sparklogs.data.network_config. default_routes[].next_hop default_routes entry.sparklogs.data.network_config. default_routes[].metric default_routes entry.sparklogs.data.network_config. default_routes[].protocol_code default_routes entry.DNS (7)
sparklogs.data.network_config. dns_domain sparklogs.data.network_config. legacy_ipv4_dns_servers sparklogs.data.network_config. legacy_ipv4_dns_servers_truncated legacy_ipv4_dns_servers was cut to its cap.sparklogs.data.network_config. dns_search_list Tcpip\Parameters SearchList), lowercased; [] when none is set. Absent when the read failed or the value has another type.sparklogs.data.network_config. dns_search_list_truncated dns_search_list was cut to its cap.sparklogs.data.network_config. dns_search_list_policy Policies\Microsoft\Windows NT\DNSClient SearchList), lowercased; [] when the policy sets none. Reported beside dns_search_list with no precedence inferred.WinHTTP proxy (10)
sparklogs.data.network_config. winhttp_default_proxy_access_type_code sparklogs.data.network_config. winhttp_default_proxy_access_type sparklogs.data.network_config. winhttp_default_proxy_endpoints request_protocol, transport, host, port; absent when the list failed the safe grammar.sparklogs.data.network_config. winhttp_default_proxy_endpoints[].request_protocol winhttp_default_proxy_endpoints entry.sparklogs.data.network_config. winhttp_default_proxy_endpoints[].transport winhttp_default_proxy_endpoints entry.sparklogs.data.network_config. winhttp_default_proxy_endpoints[].host winhttp_default_proxy_endpoints entry.Example
Inventory (every hour)
1 default route; "Ethernet" via "192.0.2.1"; WinHTTP proxy named_proxy.
sparklogs.data.network_config.default_routes: [{"adapter": "network_adapter:0006008004000000", "family": "ipv4", "metric": 0, "next_hop": "192.0.2.1", "origin": "manual", "origin_code": 0, "protocol": "netmgmt", "protocol_code": 3}]
sparklogs.data.network_config.dns_domain: example.com
sparklogs.data.network_config.legacy_ipv4_dns_servers: ["192.0.2.53"]
sparklogs.data.network_config.winhttp_default_proxy_access_type_code: 3
sparklogs.data.network_config.winhttp_default_proxy_bypass: ["<local>", "*.example.com"]
sparklogs.data.network_config.winhttp_default_proxy_endpoints: [{"host": "proxy.example.com", "port": 443, "request_protocol": "https", "transport": "https"}]
SparkLogs: CONTEXT, Info, network_config: INVENTORY: 1 default route; "Ethernet" via "192.0.2.1"; WinHTTP proxy named_proxy.