File tree 6 files changed +38
-31
lines changed
6 files changed +38
-31
lines changed Original file line number Diff line number Diff line change 4
4
directory : " /"
5
5
schedule :
6
6
interval : " monthly"
7
+ groups :
8
+ all :
9
+ patterns :
10
+ - " *"
Original file line number Diff line number Diff line change @@ -36,16 +36,22 @@ jobs:
36
36
# Merge upstream changes, preferring upstream changes in case of conflicts. This way we can resolve conflicts with master during the PR review process.
37
37
run : |
38
38
echo "Merging upstream changes"
39
+ git config --global user.email "phillip@cs.stanford.edu"
40
+ git config --global user.name "Phillip Stephens"
41
+
39
42
git merge --no-edit --strategy-option=theirs upstream/master || (git merge --abort && echo "merging was unsuccessful, aborting" && exit 1)
40
43
44
+ - name : Set branch name
45
+ run : echo "BRANCH_NAME=sync-upstream-$(date +%Y%m%d)" >> $GITHUB_ENV
46
+
41
47
- name : Open Pull Request
42
48
if : env.updates_available == 'true'
43
49
uses : peter-evans/create-pull-request@v7
44
50
with :
45
- branch : sync-upstream-$(date +%Y%m%d)
51
+ branch : ${{ env.BRANCH_NAME }}
46
52
delete-branch : true
47
53
title : " Sync miekg/dns upstream changes"
48
54
body : " Automated PR to sync upstream changes from miekg/dns. Please review and merge if appropriate.
49
55
ALERT - If upstream tagged a new version, you'll need to tag manually after merging this PR."
50
56
labels : " sync, automated"
51
- assignees : " phillip-stephens"
57
+ assignees : " phillip-stephens"
Original file line number Diff line number Diff line change @@ -193,6 +193,7 @@ Example programs can be found in the `github.com/miekg/exdns` repository.
193
193
* 9460 - Service Binding and Parameter Specification via the DNS
194
194
* 9461 - Service Binding Mapping for DNS Servers
195
195
* 9462 - Discovery of Designated Resolvers
196
+ * 9460 - SVCB and HTTPS Records
196
197
197
198
## Loosely Based Upon
198
199
Original file line number Diff line number Diff line change 1
1
module github.com/zmap/dns
2
2
3
- go 1.19
3
+ go 1.22.0
4
4
5
- require (
6
- github.com/miekg/dns v1.1.62
7
- golang.org/x/net v0.31.0
8
- golang.org/x/sync v0.7.0
9
- golang.org/x/sys v0.27.0
10
- golang.org/x/tools v0.22.0
11
- )
5
+ toolchain go1.24.0
12
6
13
7
replace github.com/miekg/dns => ./
14
8
15
- require golang.org/x/mod v0.18.0 // indirect
9
+ require (
10
+ github.com/miekg/dns v1.1.63
11
+ golang.org/x/net v0.35.0
12
+ golang.org/x/sync v0.11.0
13
+ golang.org/x/sys v0.30.0
14
+ golang.org/x/tools v0.30.0
15
+ )
16
+
17
+ require golang.org/x/mod v0.23.0 // indirect
Original file line number Diff line number Diff line change 1
- golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0 =
2
- golang.org/x/mod v0.18.0 /go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c =
3
- golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo =
4
- golang.org/x/net v0.31.0 /go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM =
5
- golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M =
6
- golang.org/x/sync v0.7.0 /go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk =
7
- golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s =
8
- golang.org/x/sys v0.27.0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
9
- golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA =
10
- golang.org/x/tools v0.22.0 /go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c =
1
+ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI =
2
+ github.com/google/go-cmp v0.6.0 /go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY =
3
+ golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM =
4
+ golang.org/x/mod v0.23.0 /go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY =
5
+ golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8 =
6
+ golang.org/x/net v0.35.0 /go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk =
7
+ golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w =
8
+ golang.org/x/sync v0.11.0 /go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk =
9
+ golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc =
10
+ golang.org/x/sys v0.30.0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
11
+ golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY =
12
+ golang.org/x/tools v0.30.0 /go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY =
Original file line number Diff line number Diff line change @@ -214,24 +214,16 @@ func makeSVCBKeyValue(key SVCBKey) SVCBKeyValue {
214
214
}
215
215
}
216
216
217
- // SVCB RR. See RFC xxxx (https://tools.ietf.org/html/draft-ietf-dnsop-svcb-https-08).
218
- //
219
- // NOTE: The HTTPS/SVCB RFCs are in the draft stage.
220
- // The API, including constants and types related to SVCBKeyValues, may
221
- // change in future versions in accordance with the latest drafts.
217
+ // SVCB RR. See RFC 9460.
222
218
type SVCB struct {
223
219
Hdr RR_Header
224
220
Priority uint16 // If zero, Value must be empty or discarded by the user of this library
225
221
Target string `dns:"domain-name"`
226
222
Value []SVCBKeyValue `dns:"pairs"`
227
223
}
228
224
229
- // HTTPS RR. Everything valid for SVCB applies to HTTPS as well.
225
+ // HTTPS RR. See RFC 9460. Everything valid for SVCB applies to HTTPS as well.
230
226
// Except that the HTTPS record is intended for use with the HTTP and HTTPS protocols.
231
- //
232
- // NOTE: The HTTPS/SVCB RFCs are in the draft stage.
233
- // The API, including constants and types related to SVCBKeyValues, may
234
- // change in future versions in accordance with the latest drafts.
235
227
type HTTPS struct {
236
228
SVCB
237
229
}
You can’t perform that action at this time.
0 commit comments