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);
remoteEP = new IPEndPoint(proxyStream.SourceAddress, proxyStream.SourcePort);
if (!proxyStream.IsLocal)
{
remoteEP = new IPEndPoint(proxyStream.SourceAddress, proxyStream.SourcePort);
}
recvBufferStream.Position = proxyStream.DataOffset;
}

View File

@ -23,7 +23,8 @@ Be it a home network or an organization's network, having a locally running DNS
<a href="https://macarne.com/" target="_blank"><img src="https://technitium.com/img/logo-macarne.png" width="250" alt="Macarne - Worldwide Bare Metal Solutions" title="Macarne - Worldwide Bare Metal Solutions" /></a>
</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.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