Newer
Older
AMI-Aptio-BIOS-Reversed / DnsDxe / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Init

DnsDxe, Index 0144, 52004 bytes, DXE Phase

UEFI DNS Protocol DXE driver for the AMI network stack. Implements EFI_DNS4_PROTOCOL and EFI_DNS6_PROTOCOL for DNS resolution (A/AAAA record queries) over UDP4/UDP6. Maintains per-service DNS caches with timer-based aging, manages retry/timeout logic, and supports known RR type validation.

Key Functions

  • ModuleEntryPoint -- DXE entry, installs DNS4 and DNS6 driver binding protocols
  • Dns4DriverBindingSupported/Start/Stop -- IPv4 DNS driver binding
  • Dns6DriverBindingSupported/Start/Stop -- IPv6 DNS driver binding
  • DnsCreateService/DnsDestroyService -- DNS service binding lifecycle
  • Dns4GetHostByName/Dns4GetHostByAddress -- IPv4 name resolution
  • Dns6GetHostByName/Dns6GetHostByAddress -- IPv6 name resolution
  • DnsTimerNotify -- Periodic cache aging (1-second interval)

Protocols/Dependencies

  • EFI_DNS4_PROTOCOL, EFI_DNS6_PROTOCOL
  • EFI_UDP4_PROTOCOL, EFI_UDP6_PROTOCOL
  • EFI_DPC_PROTOCOL
  • AMI Debug Library Protocol

Platform

HR650X, x86-64, AmiNetworkPkg/UefiNetworkStack/Common/DnsDxe/, VS2015 DEBUG