Share to: share facebook share twitter share wa share telegram print page

DNSCurve

DNS over HTTPS
Communication protocol
Developer(s)Daniel J. Bernstein
Introduction2009; 16 years ago (2009)[1]
OSI layerApplication layer
Websitednscurve.org

DNSCurve is a proposed secure protocol for the Domain Name System (DNS), designed by Daniel J. Bernstein. It encrypts and authenticates DNS packets between resolvers and authoritative servers.

DNSCurve claims advantages over previous DNS services of:[1]

  • Confidentiality—usual DNS requests and responses are not encrypted, and broadcast to any attacker.
  • Integrity—usual DNS has some protection, but with patience and sniffing attackers can forge DNS records; this is prevented by DNSCurve cryptographic authentication.
  • Availability—usual DNS has no protection against denial of service (DoS) by a sniffing attacker sending a few forged packets per second. DNSCurve recognizes and discards forged DNS packets, providing some protection, though SMTP, HTTP, HTTPS, are also vulnerable to DoS.

Structure

DNSCurve uses Curve25519 elliptic curve cryptography to establish the identity of authoritative servers.[2] Public keys for remote authoritative servers are placed in NS records, so recursive resolvers know whether the server supports DNSCurve. Keys begin with the magic string uz5 and are followed by a 51-byte Base32 encoding of the server's 255-bit public key. E.g., in BIND format:

example.com. IN NS uz5bcx1nh80x1r17q653jf3guywz7cmyh5jv0qjz0unm56lq7rpj8l.example.com.

The identity is used to establish keys used by an authenticated encryption scheme consisting of Salsa20 and Poly1305.The cryptographic setup is called a "cryptographic box", specifically crypto_box_curve25519xsalsa20poly1305.[3]

The "cryptographic box" tool used in DNSCurve are the same used in CurveCP, a UDP-based protocol which is similar to TCP but uses elliptic-curve cryptography to encrypt and authenticate data. An analogy is that while DNSSEC is like signing a webpage with Pretty Good Privacy (PGP), CurveCP and DNSCurve are like encrypting and authenticating the channel using Transport Layer Security (TLS). Just as PGP-signed webpages can be sent over an encrypted channel using SSL, DNSSEC data can be protected using DNSCurve.[4]

Operation

The resolver first retrieves the public key from the NS record, see § Structure above.

The resolver then sends to the server a packet containing its DNSCurve public key, a 96-bit nonce, and a cryptographic box containing the query. The cryptographic box is created using the resolver's private key, the server's public key, and the nonce. The response from the server contains a different 96-bit nonce and its own cryptographic box containing the answer to the query.

Security

DNSCurve uses 256-bit elliptic-curve cryptography, which NIST estimates to be roughly equivalent to 3072-bit RSA.[5] ECRYPT reports a similar equivalence.[6] It uses per-query public-key crypto (like SSH and SSL), and 96-bit nonces to protect against replay attacks. Adam Langley, security officer at Google, says "With very high probability, no one will ever solve a single instance of Curve25519 without a large, quantum computer."[7]

Speed

Adam Langley has posted speed tests on his personal website showing Curve25519, used by DNSCurve, to be the fastest among elliptic curves tested.[8] According to the U.S. National Security Agency (NSA), elliptic curve cryptography offers vastly superior performance over RSA and Diffie–Hellman at a geometric rate as key sizes increase.[9]

Implementations

DNSCurve first gained recursive support in dnscache via a patch[10] by Matthew Dempsky. Dempsky also has a GitHub repository which includes Python DNS lookup tools and a forwarder in C.[11] Adam Langley has a GitHub repository as well.[12] There is an authoritative forwarder called CurveDNS[13] which allows DNS administrators to protect existing installations without patching.

Jan Mojžíš has released curveprotect,[14] a software suite which implements DNSCurve and CurveCP protection for common services like DNS, SSH, HTTP, and SMTP.

DNSCurve.io (2023) recommends two implementations: Jan Mojžíš's dqcache for recursive resolvers, CurveDNS for authoritative servers.[15]

Deployment

OpenDNS, which has 50 million users, announced support for DNSCurve on its recursive resolvers on February 23, 2010. In other words, its recursive resolvers now use DNSCurve to communicate to authoritative servers if available.[16] On December 6, 2011, OpenDNS announced a new tool, called DNSCrypt.[17] DNSCrypt is based on similar cryptographic tools as DNSCurve, but instead protects the channel between OpenDNS and its users.[18]

No equally large authoritative DNS providers have yet deployed DNSCurve.

See also

DNSCurve is intended to secure communication between a resolver and an authoritative server. For securing communication between DNS clients and resolvers, there are several options:

Notes

  1. ^ a b "Introduction to DNSCurve". DNSCurve. 22 June 2009. Retrieved 16 March 2016.
  2. ^ D. J. Bernstein. "Curve25519: high-speed elliptic-curve cryptography". Retrieved 30 January 2013.
  3. ^ "Public-key authenticated encryption: crypto_box". nacl.cr.yp.to. crypto_box is curve25519xsalsa20poly1305, a particular combination of Curve25519, Salsa20, and Poly1305 specified in "Cryptography in NaCl". This function is conjectured to meet the standard notions of privacy and third-party unforgeability.
  4. ^ "CurveCP: Usable security for the Internet". Retrieved 18 January 2024.
  5. ^ "NIST Recommendations (2011)".
  6. ^ "ECRYPT II Yearly Report on Algorithms and Keysizes (2010-2011)" (PDF). Archived from the original (PDF) on 2012-06-02.
  7. ^ "Adam Langley on curve25519 security".
  8. ^ "Adam Langley: What a difference a prime makes".
  9. ^ "The Case for Elliptic Curve Cryptography". NSA. Archived from the original on January 17, 2009. Retrieved January 17, 2009.
  10. ^ "DNSCurve patch for dnscache". Archived from the original on 2012-12-28.
  11. ^ "Matthew Dempsky's DNSCurve repo on GitHub". GitHub. 13 August 2019.
  12. ^ "Adam Langley's DNSCurve repo". GitHub. 13 August 2019.
  13. ^ "CurveDNS: A DNSCurve Forwarding Name Server". GitHub.
  14. ^ "curveprotect, a complex collection of tools for protecting wide range of internet services". Archived from the original on 2013-05-26. Retrieved 2012-05-09.
  15. ^ "DNSCurve.io - A Community for DNSCurve". dnscurve.io.
  16. ^ "OpenDNS adopts DNSCurve". Archived from the original on 2010-02-26. Retrieved 2010-04-13.
  17. ^ "OpenDNS unveils DNSCrypt". Archived from the original on 2013-02-03.
  18. ^ "net/dnscrypt-proxy: dnscrypt-proxy-1.4.3 – secure communications between a DNS client and resolver". OpenBSD ports. 2015-01-06. Retrieved 2015-02-09.

Read other articles:

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Desember 2022. Maria Michał Kowalski Jan Kowalski, kemudian dikenal sebagai Maria Michał Kowalski (27 Desember 1871 – 18 Mei 1942[1][a]), adalah seorang imam diosesan Katolik Roma Polandia yang menjadi pemimpin agama skismatik dan inov…

Kegubernuran Ajloun (محافظة عجلون) Kegubernuran Kota Ajloun ibu kota Kegubernuran Ajloun Negara Yordania Ibukota Ajloun  - elevasi 760 m (2.493 ft) Area 420 km2 (162 sq mi) Population 146.900 (2012) Density 350,1 / km² (907 / sq mi) Gubernur Ali Azzam Perkotaan 75.9% Pedesaan 24.1% Kegubernuran Ajloun di Yordania Kegubernuran Ajloun (pengucapan alternatif Kegubernuran Ajlun) (Arab: محافظة عجلونcode: ar is deprecated ) adalah sala…

Kåre KristiansenKristiansen di Nesodden pada 2004 Menteri Minyak Bumi dan EnergiMasa jabatan8 Juni 1983 – 9 Mei 1986Perdana MenteriKåre Willoch PendahuluVidkunn HvedingPenggantiArne ØienKetua Partai Demokrat KristenMasa jabatan1975–1977 PendahuluLars KorvaldPenggantiLars KorvaldMasa jabatan1979 – 16 April 1983 PendahuluLars KorvaldPenggantiKjell Magne BondevikSekretaris Negara Kementerian Urusan SosialMasa jabatan15 Oktober 1965 – 31 Desember 1968Perdana Men…

Peta Austria menunjukkan lokasi Salzburg Salzburg adalah sebuah negara bagian di Austria yang memiliki luas wilayah 7.154 km² dan populasi 515.327 jiwa (2001). Ibu kotanya ialah Salzburg. lbsNegara bagian di Austria Austria Hulu · Austria Hilir · Burgenland · Kärnten · Salzburg · Steiermark · Tirol · Vorarlberg · Wina Artikel bertopik geografi ini adalah sebuah rintisan. Anda dapat membantu Wikipedia d…

American judge For other people with the same name, see John Hemphill. John HemphillMember of the Provisional Congress of the Confederate Statesfrom TexasIn officeFebruary 4, 1861 – January 4, 1862Preceded byConstituency establishedSucceeded byConstituency abolishedUnited States Senatorfrom TexasIn officeMarch 4, 1859 – July 11, 1861Preceded bySam HoustonSucceeded byMorgan Hamilton (1870) Personal detailsBorn(1803-12-18)December 18, 1803Chester District, South Carolina, U.S…

Law enforcement agency in Arizona This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) The topic of this article may not meet Wikipedia's notability guidelines for companies and organizations. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notabil…

Combination pain relief drug Adol redirects here. Not to be confused with protagonist of the Ys video game series. Hydrocodone/paracetamolCombination ofHydrocodoneOpioid analgesicParacetamolAnilide analgesicClinical dataTrade namesLorcet, Norco, Vicodin, othersOther namesHydrocodone/acetaminophen, hydrocodone/APAPAHFS/Drugs.comProfessional Drug FactsLicense data US DailyMed: Hydrocodone bitartrate and acetaminophen Routes ofadministrationBy mouthATC codeN02AJ22 (WHO) Legal st…

Voce principale: Ministero dei lavori pubblici. Questa voce o sezione sull'argomento Italia non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. I ministri dei lavori pubblici del Regno d'Italia si sono avvicendati dal 1861 (proclamazione del Regno d'Italia) al 1946 (nascita della Repubblica Italiana). Ministro Foto Mandato Governo Ubaldino Peruzzi 17 marzo 1861 …

Questa voce sull'argomento stagioni delle società calcistiche italiane è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Voce principale: Società Sportiva Barletta Calcio. Società Sportiva BarlettaStagione 1972-1973Sport calcio Squadra Barletta Allenatore Enzo Benedetti Presidente Nicola Filannino Serie C15º posto nel girone C. Maggiori presenzeCampionato: Birtolo, Cariati, Rossi (38) Miglior marcat…

East Rhine RailwayOverviewNative nameRechte RheinstreckeLine number 2324 (Köln-Kalk Nord–Koblenz) 507 (Koblenz–Wiesbaden) LocaleNorth Rhine-Westphalia, Rhineland-Palatinate, Hesse, GermanyTerminiCologneWiesbadenServiceRoute number 465 (Köln–Koblenz) 466 (Koblenz–Wiesbaden) TechnicalLine length179 km (111 mi)Number of tracks2Track gauge1,435 mm (4 ft 8+1⁄2 in) standard gaugeElectrification15 kV/16.7 Hz ACOverhead catenaryOperating speed140 km/h (…

Australia-Sri Lanka cricket award Warne–Muralidaran TrophyThe Warne-Muralidaran TrophyCountries Australia Sri LankaAdministratorCricket AustraliaSri Lanka CricketFormatTest cricketFirst edition2007–08 (Australia)Latest edition2022 (Sri Lanka)Next edition2025 (Sri Lanka)Tournament formatTest SeriesNumber of teams2Current trophy holder AustraliaMost successful Australia (4 titles)Most runs Michael Hussey (994)Most wickets Rangana Herath (56)[1] The Warne–Muralidar…

Кристоф Мекленбургскийнем. Christoph zu Mecklenburg администратор Ратцебургского монастыря Рождение 30 июля 1537[1]Аугсбург, Бавария[1] Смерть 4 марта 1592(1592-03-04)[2] (54 года)Темпцинский монастырь[d], Клозер-Темпцин[d] Место погребения Шверинский собор Род Мекленбургский дом От…

DC comics character For the Charlton Comics character, see Prankster (Charlton Comics). Comics character PranksterThe Prankster on the cover of Superman #660, art by James Fry.Publication informationPublisherDC ComicsFirst appearanceAction Comics #51 (August 1942)Created byJerry Siegel (writer)John Sikela (artist)In-story informationAlter egoOswald Hubert LoomisSpeciesHumanTeam affiliationsIntergang Injustice League Underground SocietyNotable aliasesDoctor Loomis The Pranksta The Exorsist Prison…

José de la Cruz Porfirio Díaz Mori Presiden MeksikoMasa jabatan29 November 1876 - 6 Desember 1876, 17 Februari 1877 – 30 November 18801 December 1884 – 25 Mei 1911Wakil PresidenRamón Corral (1904 )PendahuluSebastián Lerdo de Tejada (1876) Juan N. Méndez (1877) Manuel González (1884)PenggantiJuan N. Méndez (1876) Manuel González (1880) Francisco León de la Barra (1911) Informasi pribadiLahir(1830-09-15)15 September 1830Oaxaca, OaxacaMeninggal2 Juli 1915(1915-07-02) (umur…

Fictitious character in Masonic allegory, based on Old Testament character Part of a series onFreemasonry Overview Grand Lodge Masonic lodge Masonic lodge officers Grand Master Prince Hall Freemasonry Regular Masonic jurisdiction Anglo-American Freemasonry Continental Freemasonry History History of Freemasonry Liberté chérie Masonic manuscripts Masonic bodies Masonic Masonic bodies York Rite Order of Mark Master Masons Holy Royal Arch Royal Arch Masonry Cryptic Masonry Knights Templar Red Cros…

Situs Kerajaan di San Lorenzo de El EscorialLetakSan Lorenzo de El Escorial, SpanyolArsitekJuan Bautista de Toledo Situs Warisan Dunia UNESCONama resmi: Monastery and Site of the Escorial, MadridJenisKebudayaanKriteriai, ii, ivDitetapkan1984 (sesi ke-8)318Negara SpanyolWilayahEropa dan Amerika Utara Spanish Property of Cultural InterestNama resmi: Monasterio de San LorenzoKriteriaMonumenDitetapkan3 June 1931No. referensi(R.I.) - 51 - 0001064 - 00000 Situs Kerajaan di San Lorenzo de Esc…

Ashram of Vedic sage Pundrik Pundrik AshramSita KundMonastery informationEstablishedSage PundrikDedicated toVedas, Cosmic deeds of VedasPeopleFounder(s)Sage PundrikArchitectureHeritage designationAncient Mithila UniversitySiteLocationPunauradham, Sitamarhi district, Mithila region , BiharCountryIndiaVisible remainsSita Kund, Pundakeshwar Mahadev Mandir Pundrik Ashram is a Hindu monastery related to the Vedic sage Pundrik. The sage Pundrik was an Indian sage mentioned in the Indian religious text…

Para otros usos de este término, véase Estado de Antioquia. Antioquia Estado federado 1856-1886BanderaEscudo Localización del estado de Antioquia en los Estados Unidos de Colombia Estado Soberano de Antioquia en 1865.Coordenadas 6°20′00″N 75°15′00″O / 6.33333, -75.25Capital MedellínEntidad Estado federado • País Estados Unidos de ColombiaIdioma oficial EspañolSuperficie hist.   • 1874 59 000 km²Población hist.   • 1874 est. 36…

Chemical element, symbol Sg and atomic number 106Seaborgium, 106SgSeaborgiumPronunciation/siːˈbɔːrɡiəm/ ⓘ ​(see-BOR-ghee-əm)Mass number[269]Seaborgium in the periodic table Hydrogen Helium Lithium Beryllium Boron Carbon Nitrogen Oxygen Fluorine Neon Sodium Magnesium Aluminium Silicon Phosphorus Sulfur Chlorine Argon Potassium Calcium Scandium Titanium Vanadium Chromium Manganese Iron Cobalt Nickel Copper Zinc Gallium Germanium Arsenic Selenium Bromine Krypton Rubidiu…

Title of the king of Eswatini iNgwenyama of EswatiniArms of His Majesty the iNgwenyama of EswatiniIncumbentMswati IIIsince 25 April 1986 DetailsStyleHis MajestyHeir apparentNone declaredFirst monarchMkhulunkosiResidenceLozitha Palace, Lobamba, Eswatini Politics of Eswatini Constitution Human rights LGBT rights Monarchy Ngwenyama (list) Mswati III Ndlovukati (list) Ntfombi Government Prime Minister Russell Dlamini Cabinet Parliament Senate President House of Assembly Speaker Administrat…

Index: pl ar de en es fr it arz nl ja pt ceb sv uk vi war zh ru af ast az bg zh-min-nan bn be ca cs cy da et el eo eu fa gl ko hi hr id he ka la lv lt hu mk ms min no nn ce uz kk ro simple sk sl sr sh fi ta tt th tg azb tr ur zh-yue hy my ace als am an hyw ban bjn map-bms ba be-tarask bcl bpy bar bs br cv nv eml hif fo fy ga gd gu hak ha hsb io ig ilo ia ie os is jv kn ht ku ckb ky mrj lb lij li lmo mai mg ml zh-classical mr xmf mzn cdo mn nap new ne frr oc mhr or as pa pnb ps pms nds crh qu sa sah sco sq scn si sd szl su sw tl shn te bug vec vo wa wuu yi yo diq bat-smg zu lad kbd ang smn ab roa-rup frp arc gn av ay bh bi bo bxr cbk-zam co za dag ary se pdc dv dsb myv ext fur gv gag inh ki glk gan guw xal haw rw kbp pam csb kw km kv koi kg gom ks gcr lo lbe ltg lez nia ln jbo lg mt mi tw mwl mdf mnw nqo fj nah na nds-nl nrm nov om pi pag pap pfl pcd krc kaa ksh rm rue sm sat sc trv stq nso sn cu so srn kab roa-tara tet tpi to chr tum tk tyv udm ug vep fiu-vro vls wo xh zea ty ak bm ch ny ee ff got iu ik kl mad cr pih ami pwn pnt dz rmy rn sg st tn ss ti din chy ts kcg ve 
Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 
Kembali kehalaman sebelumnya