Compare commits

...

2 Commits

5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ all: get_files general dnssec
get_files: get_files:
rsync -a --progress afonso@afonso-pi:~/sdns-proxy/results/ $(GEN_IN) rsync -a --progress afonso@afonso-pi:~/sdns-proxy/results/ $(GEN_IN)
rsync -a --progress afonso@afonso-pi:~/sdns-proxy/results/ $(DNS_IN) rsync -a --progress afonso@afonso-pi:~/sdns-proxy/results-dnssec/ $(DNS_IN)
# ----- general workload: results/ -> out/general/ ----- # ----- general workload: results/ -> out/general/ -----
general: general:
+1 -1
View File
@@ -61,7 +61,7 @@ func (q *QueryCmd) Run() error {
msg.SetQuestion(dns.Fqdn(q.DomainName), qTypeUint) msg.SetQuestion(dns.Fqdn(q.DomainName), qTypeUint)
msg.Id = dns.Id() msg.Id = dns.Id()
msg.RecursionDesired = true msg.RecursionDesired = true
msg.SetEdns0(4096, q.DNSSEC) msg.SetEdns0(1232, q.DNSSEC)
logger.Debug("Sending DNS query: ID=%d, Question=%s %s", msg.Id, q.DomainName, q.QueryType) logger.Debug("Sending DNS query: ID=%d, Question=%s %s", msg.Id, q.DomainName, q.QueryType)
_, recvMsg, err := dnsClient.Query(msg) _, recvMsg, err := dnsClient.Query(msg)
+1 -1
View File
@@ -29,7 +29,7 @@ func (w *iterativeWalker) resetStats() { w.st = ValidationStats{} }
func (w *iterativeWalker) exchange(server, name string, qtype uint16) (*dns.Msg, error) { func (w *iterativeWalker) exchange(server, name string, qtype uint16) (*dns.Msg, error) {
m := new(dns.Msg) m := new(dns.Msg)
m.SetQuestion(dns.Fqdn(name), qtype) m.SetQuestion(dns.Fqdn(name), qtype)
m.SetEdns0(4096, true) m.SetEdns0(1232, true)
m.RecursionDesired = false m.RecursionDesired = false
if b, err := m.Pack(); err == nil { if b, err := m.Pack(); err == nil {
+1 -1
View File
@@ -24,7 +24,7 @@ func (w *trustWalker) ask(name string, qtype uint16) (*dns.Msg, error) {
m.SetQuestion(dns.Fqdn(name), qtype) m.SetQuestion(dns.Fqdn(name), qtype)
m.Id = dns.Id() m.Id = dns.Id()
m.RecursionDesired = true m.RecursionDesired = true
m.SetEdns0(4096, true) m.SetEdns0(1232, true)
if b, err := m.Pack(); err == nil { if b, err := m.Pack(); err == nil {
w.st.BytesSent += len(b) w.st.BytesSent += len(b)
+1 -1
View File
@@ -202,7 +202,7 @@ func (r *MeasurementRunner) performQuery(dnsClient client.DNSClient, domain, ups
msg.Id = dns.Id() msg.Id = dns.Id()
msg.RecursionDesired = true msg.RecursionDesired = true
msg.SetQuestion(dns.Fqdn(domain), qType) msg.SetQuestion(dns.Fqdn(domain), qType)
msg.SetEdns0(4096, r.config.DNSSEC) msg.SetEdns0(1232, r.config.DNSSEC)
start := time.Now() start := time.Now()
metric.Timestamp = start metric.Timestamp = start