-
Notifications
You must be signed in to change notification settings - Fork 84
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
NSEC records with parameter Types #27
Comments
You can add any DNS Resource Record to var service = new ServiceProfile("x1", "_xservice._tcp", 5011);
service.Resources.Add(new NSecRecord { ... } );
var sd = new ServiceDiscovery();
sd.Advertise(servuce)); |
The NSecRecord can be created as new NSecRecord
{
NextOwnerName = "...",
TypeBitmaps = ...
} |
@victorkani Does the above answers your question? |
How to return the following records to google discovery service ? The following records should be returned by the server in an authoritative response:
The above is the syntax for sending NSEC record information, but the Type parameter is not of array type to set both TXT and SRV. |
I'm just making a change to Makaretu.Dns to make In the new design new NSECRecord()
{
Name = "victor." + service,
Types = { DnsType.TXT, DnsType.SRV },
NextOwnerName = "1.victor.local"
} I'll have a release in a few hours and will ping you. |
The new NSECRecord is available in release v0.12.0 Hope it helps! |
@victorkani Are you ready to close this issue? |
How to send answer of Record type NSEC with types TXT and SRV.
Something like this , I found this in ARSoft.Tools.Net
public NSecRecord(string name, RecordClass recordClass, int timeToLive, string nextDomainName, List types): base(name, RecordType.NSec, recordClass, timeToLive)
{
}
The text was updated successfully, but these errors were encountered: