This commit is contained in:
Shreyas Zare 2025-03-29 18:34:40 +05:30
commit 390f3b6a03
2 changed files with 8 additions and 2 deletions

View File

@ -412,7 +412,12 @@ namespace DnsServerCore.Dns
}
ProxyProtocolStream proxyStream = await ProxyProtocolStream.CreateAsServerAsync(recvBufferStream);
if (!proxyStream.IsLocal)
{
remoteEP = new IPEndPoint(proxyStream.SourceAddress, proxyStream.SourcePort);
}
recvBufferStream.Position = proxyStream.DataOffset;
}

View File

@ -24,6 +24,7 @@ Be it a home network or an organization's network, having a locally running DNS
</p>
<p align="center">
<a href="https://www.bartellhotels.com/" target="_blank"><img src="https://technitium.com/img/logo-bartell-hotels.png" width="300" alt="Bartell Hotels - San Diego's Unforgettable Locations" title="Bartell Hotels - San Diego's Unforgettable Locations" /></a>
<a href="https://www.wavspeed.com/" target="_blank"><img src="https://technitium.com/img/logo-wavspeed.png" width="350" alt="Technology Investors and Integrators | WavSpeed Inc | Texas" title="Technology Investors and Integrators | WavSpeed Inc | Texas" /></a>
</p>
# Features