diff --git a/Apps/NxDomainApp/App.cs b/Apps/NxDomainApp/App.cs index 77a5a919..9e5d485e 100644 --- a/Apps/NxDomainApp/App.cs +++ b/Apps/NxDomainApp/App.cs @@ -90,7 +90,7 @@ namespace NxDomain public Task InitializeAsync(IDnsServer dnsServer, string config) { - _soaRecord = new DnsSOARecordData(dnsServer.ServerDomain, "hostadmin@" + dnsServer.ServerDomain, 1, 14400, 3600, 604800, 60); + _soaRecord = new DnsSOARecordData(dnsServer.ServerDomain, dnsServer.ResponsiblePerson.Address, 1, 14400, 3600, 604800, 60); using JsonDocument jsonDocument = JsonDocument.Parse(config); JsonElement jsonConfig = jsonDocument.RootElement;