Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS: Ethernet should have static IPv4 settings #56

Closed
PrzemyslawKlys opened this issue Sep 14, 2019 · 3 comments
Closed

DNS: Ethernet should have static IPv4 settings #56

PrzemyslawKlys opened this issue Sep 14, 2019 · 3 comments

Comments

@PrzemyslawKlys
Copy link
Member

@PrzemyslawKlys PrzemyslawKlys commented Sep 14, 2019

Title:
DNS: Ethernet should have static IPv4 settings

Severity
Warning

Date:
31.05.2018 22:33:13

Category:
Configuration

Problem:
Ethernet has dynamically assigned Internet Protocol version 4 (IPv4) addresses.

Impact:
Dynamic IP addresses can change, preventing clients from locating server resources.

Resolution
Click Start, click Network, click Network and Sharing Center, and then click Change adapter settings to configure a static IP address on the interface.

http://go.microsoft.com/fwlink/?LinkId=121986

@itpro-tips

This comment has been minimized.

Copy link
Contributor

@itpro-tips itpro-tips commented Mar 5, 2020

We can get this information with, for example, this script.

It can also be used to answer to DNS servers on Ethernet should include the loopback address, but not as the first entry

Another interesting test is to identify if DC has more than one IP, because multihomed DC is often used (sometimes without issue, sometimes with a lot of issues...)

@PrzemyslawKlys

This comment has been minimized.

Copy link
Member Author

@PrzemyslawKlys PrzemyslawKlys commented Mar 5, 2020

I believe this is doable as part of this one:

Get-ComputerNetwork -ComputerName $DomainController

PS C:\Support\GitHub\Testimo> Get-ComputerNetwork -ComputerName AD1                                                                                                                                                                                                                                                                                  367,67ms



Name                            : Network  2
NetworkCardName                 : Ethernet 2
NetworkCardIndex                : 5
FirewallProfile                 : Private
FirewallStatus                  : True
IPAddress                       : {192.168.240.189}
IPGateway                       : {192.168.240.1}
IPSubnet                        : {255.255.255.0}
IPv4Connectivity                : Internet
IPv6Connectivity                : NoTraffic
DNSServerSearchOrder            : {192.168.240.192, 192.168.240.236, 192.168.240.189, 127.0.0.1}
DNSDomainSuffixSearchOrder      : {ad.evotec.xyz}
FullDNSRegistrationEnabled      : True
DHCPEnabled                     : False
DHCPServer                      :
DHCPLeaseObtained               :
NetBIOSOverTCPIP                : Disabled
Caption                         :
Description                     : 
ElementName                     :
DefaultInboundAction            : Block
DefaultOutboundAction           : Allow
AllowInboundRules               : NotConfigured
AllowLocalFirewallRules         : NotConfigured
AllowLocalIPsecRules            : NotConfigured
AllowUserApps                   : NotConfigured
AllowUserPorts                  : NotConfigured
AllowUnicastResponseToMulticast : NotConfigured
NotifyOnListen                  : False
EnableStealthModeForIPsec       : NotConfigured
LogFileName                     : %systemroot%\system32\LogFiles\Firewall\pfirewall.log
LogMaxSizeKilobytes             : 4096
LogAllowed                      : False
LogBlocked                      : False
LogIgnored                      : NotConfigured
ComputerName                    : AD1

It's just matter of updating the tests to cover this.

@PrzemyslawKlys

This comment has been minimized.

Copy link
Member Author

@PrzemyslawKlys PrzemyslawKlys commented Mar 5, 2020

Want to try and add this?

itpro-tips added a commit to itpro-tips/Testimo that referenced this issue Mar 6, 2020
…tecIT#88

Use guest user instead of guest group EvotecIT#88
Fix some typo
Add network card infos related to loopback EvotecIT#43, DHCP EvotecIT#56 and WindowsFirewall Profile
PrzemyslawKlys added a commit that referenced this issue Mar 6, 2020
Add networks card info #43 and #56 and guest user #88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.