Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
6577-inet_dns-support-IXFR-by-name.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6577-inet_dns-support-IXFR-by-name.patch of Package erlang
From c26c0ca84ceca360cb2fa6e71ac5b8fd304efdfd Mon Sep 17 00:00:00 2001 From: Alexander Clouter <alex@digriz.org.uk> Date: Wed, 19 Apr 2023 16:14:44 +0100 Subject: [PATCH 07/10] inet_dns: support IXFR by name --- lib/kernel/src/inet_dns.erl | 3 +++ lib/kernel/src/inet_dns.hrl | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/kernel/src/inet_dns.erl b/lib/kernel/src/inet_dns.erl index 9031b0b91f..d7400c706c 100644 --- a/lib/kernel/src/inet_dns.erl +++ b/lib/kernel/src/inet_dns.erl @@ -22,6 +22,7 @@ %% Dns record encode/decode %% %% RFC 1035: Domain Names - Implementation and Specification +%% RFC 1995: Incremental Zone Transfer in DNS %% RFC 2181: Clarifications to the DNS Specification %% RFC 2782: A DNS RR for specifying the location of services (DNS SRV) %% RFC 2915: The Naming Authority Pointer (NAPTR) DNS Resource Rec @@ -383,6 +384,7 @@ decode_type(Type) -> ?T_UID -> ?S_UID; ?T_GID -> ?S_GID; ?T_UNSPEC -> ?S_UNSPEC; + ?T_IXFR -> ?S_IXFR; ?T_AXFR -> ?S_AXFR; ?T_MAILB -> ?S_MAILB; ?T_MAILA -> ?S_MAILA; @@ -424,6 +426,7 @@ encode_type(Type) -> ?S_UID -> ?T_UID; ?S_GID -> ?T_GID; ?S_UNSPEC -> ?T_UNSPEC; + ?S_IXFR -> ?T_IXFR; ?S_AXFR -> ?T_AXFR; ?S_MAILB -> ?T_MAILB; ?S_MAILA -> ?T_MAILA; diff --git a/lib/kernel/src/inet_dns.hrl b/lib/kernel/src/inet_dns.hrl index d49b6847ef..ced8bb321c 100644 --- a/lib/kernel/src/inet_dns.hrl +++ b/lib/kernel/src/inet_dns.hrl @@ -73,7 +73,8 @@ -define(T_UID, 101). %% user ID -define(T_GID, 102). %% group ID -define(T_UNSPEC, 103). %% Unspecified format (binary data) --define(T_AXFR, 252). %% transfer zone of authority +-define(T_IXFR, 251). %% incremental zone transfer +-define(T_AXFR, 252). %% zone transfer -define(T_MAILB, 253). %% transfer mailbox records -define(T_MAILA, 254). %% transfer mail agent records -define(T_ANY, 255). %% wildcard match @@ -116,7 +117,8 @@ -define(S_UID, uid). %% user ID -define(S_GID, gid). %% group ID -define(S_UNSPEC, unspec). %% Unspecified format (binary data) --define(S_AXFR, axfr). %% transfer zone of authority +-define(S_IXFR, ixfr). %% incremental zone transfer +-define(S_AXFR, axfr). %% zone transfer -define(S_MAILB, mailb). %% transfer mailbox records -define(S_MAILA, maila). %% transfer mail agent records -define(S_ANY, any). %% wildcard match -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor