resolv-0.1.1.1/0000755000000000000000000000000013174460247011360 5ustar0000000000000000resolv-0.1.1.1/LICENSE0000644000000000000000000010444213174460247012372 0ustar0000000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . resolv-0.1.1.1/Setup.hs0000644000000000000000000000011113174460247013005 0ustar0000000000000000import Distribution.Simple main = defaultMainWithHooks autoconfUserHooks resolv-0.1.1.1/resolv.cabal0000644000000000000000000001024213174460247013655 0ustar0000000000000000cabal-version: 1.12 name: resolv version: 0.1.1.1 synopsis: Domain Name Service (DNS) lookup via the libresolv standard library routines description: { This package implements an API for accessing the [Domain Name Service (DNS)](https://tools.ietf.org/html/rfc1035) resolver service via the standard @libresolv@ system library (whose API is often available directly via the standard @libc@ C library) on Unix systems. . This package also includes support for decoding message record types as defined in the following RFCs: . - [RFC 1035](https://tools.ietf.org/html/rfc1035): Domain Names - Implementation And Specification - [RFC 1183](https://tools.ietf.org/html/rfc1183): New DNS RR Definitions - [RFC 2782](https://tools.ietf.org/html/rfc2782): A DNS RR for specifying the location of services (DNS SRV) - [RFC 2915](https://tools.ietf.org/html/rfc2915): The Naming Authority Pointer (NAPTR) DNS Resource Record - [RFC 3596](https://tools.ietf.org/html/rfc3596): DNS Extensions to Support IP Version 6 - [RFC 4034](https://tools.ietf.org/html/rfc4034): Resource Records for the DNS Security Extensions - [RFC 4255](https://tools.ietf.org/html/rfc4255): Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints - [RFC 4408](https://tools.ietf.org/html/rfc4408): Sender Policy Framework (SPF) for Authorizing Use of Domains in E-Mail, Version 1 - [RFC 5155](https://tools.ietf.org/html/rfc5155): DNS Security (DNSSEC) Hashed Authenticated Denial of Existence - [RFC 6844](https://tools.ietf.org/html/rfc6844): DNS Certification Authority Authorization (CAA) Resource Record - [RFC 6891](https://tools.ietf.org/html/rfc6891): Extension Mechanisms for DNS (EDNS(0)) - [RFC 7553](https://tools.ietf.org/html/rfc7553): The Uniform Resource Identifier (URI) DNS Resource Record } license: GPL-3 license-file: LICENSE author: Herbert Valerio Riedel maintainer: hvr@gnu.org category: Network build-type: Configure bug-reports: https://github.com/hvr/resolv/issues extra-source-files: ChangeLog.md extra-source-files: cbits/hs_resolv.h cbits/hs_resolv_config.h.in testdata/msg/*.bin testdata/msg/*.show resolv.buildinfo.in configure extra-tmp-files: autom4te.cache config.log config.status resolv.buildinfo cbits/hs_resolv_config.h tested-with: GHC==8.2.1, GHC==8.0.2, GHC==7.10.3, GHC==7.10.1, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2 source-repository head type: git location: https://github.com/hvr/resolv.git library default-language: Haskell2010 other-extensions: BangPatterns CApiFFI CPP DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveTraversable GeneralizedNewtypeDeriving OverloadedStrings RecordWildCards Trustworthy hs-source-dirs: src exposed-modules: Network.DNS other-modules: Network.DNS.Message Network.DNS.FFI Compat build-depends: base >= 4.5 && <4.11 , base16-bytestring == 0.1.* , binary >= 0.7.3 && < 0.9 , bytestring >= 0.9.2 && < 0.11 , containers >= 0.4.2.1 && < 0.6 ghc-options: -Wall include-dirs: cbits test-suite resolv. default-language: Haskell2010 hs-source-dirs: src-test main-is: Tests1.hs type: exitcode-stdio-1.0 -- dependencies whose version constraints are inherited via lib:resolv component build-depends: resolv , base , bytestring -- additional dependencies not inherited build-depends: tasty >= 0.11.2 && < 0.12 , tasty-hunit >= 0.9.2 && < 0.10 , directory >= 1.1.0.2 && < 1.4 , filepath >= 1.3.0 && < 1.5 resolv-0.1.1.1/ChangeLog.md0000644000000000000000000000054713174460247013537 0ustar0000000000000000# Revision history for `resolv` ## 0.1.1.1 * Improve Autoconf script ## 0.1.1.0 * Use Autoconf to detect which library (if any) to link for `res_query(3)` * Use reentrant `res_nquery(3)` API if available and signal via new `resIsReentrant :: Bool` constant * Expose `DnsException` and `QR` ## 0.1.0.0 * First version. Released on an unsuspecting world. resolv-0.1.1.1/resolv.buildinfo.in0000644000000000000000000000007113174460247015172 0ustar0000000000000000extra-libraries: @EXTRA_LIBS@ cpp-options: @CPP_OPTIONS@ resolv-0.1.1.1/configure0000755000000000000000000043577313174460247013312 0ustar0000000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for resolv 0.0. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and hvr@gnu.org about $0: your system, including any error possibly output before $0: this message. Then install a modern shell, or manually $0: run the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='resolv' PACKAGE_TARNAME='resolv' PACKAGE_VERSION='0.0' PACKAGE_STRING='resolv 0.0' PACKAGE_BUGREPORT='hvr@gnu.org' PACKAGE_URL='' ac_unique_file="resolv.cabal" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='LTLIBOBJS LIBOBJS EXTRA_LIBS CPP_OPTIONS EGREP GREP CPP OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures resolv 0.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/resolv] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of resolv 0.0:";; esac cat <<\_ACEOF Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF resolv configure 0.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## -------------------------- ## ## Report this to hvr@gnu.org ## ## -------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES # --------------------------------------------- # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR # accordingly. ac_fn_c_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_decl_name=`echo $2|sed 's/ *(.*//'` as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { #ifndef $as_decl_name #ifdef __cplusplus (void) $as_decl_use; #else (void) $as_decl_name; #endif #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_decl # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes # INCLUDES, setting VAR accordingly. Returns whether the value could be # computed ac_fn_c_compute_int () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid; break else as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=$ac_mid; break else as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else ac_lo= ac_hi= fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid else as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; '') ac_retval=1 ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 static long int longval () { return $2; } static unsigned long int ulongval () { return $2; } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (($2) < 0) { long int i = longval (); if (i != ($2)) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ($2)) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : echo >>conftest.val; read $3 config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by resolv $as_me 0.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers cbits/hs_resolv_config.h" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } if ${ac_cv_c_const+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __cplusplus /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this sort of thing. */ char tx; char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_const=yes else ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then $as_echo "#define const /**/" >>confdefs.h fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in netinet/in.h arpa/nameser.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" " #include #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_ARPA_NAMESER_H # include #endif #include " if test "x$ac_cv_header_resolv_h" = xyes; then : else as_fn_error $? "required header not found" "$LINENO" 5 fi ac_fn_c_check_decl "$LINENO" "res_query" "ac_cv_have_decl_res_query" " #include #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_ARPA_NAMESER_H # include #endif #include " if test "x$ac_cv_have_decl_res_query" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_RES_QUERY $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "res_nquery" "ac_cv_have_decl_res_nquery" " #include #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_ARPA_NAMESER_H # include #endif #include " if test "x$ac_cv_have_decl_res_nquery" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_RES_NQUERY $ac_have_decl _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_query" >&5 $as_echo_n "checking for library containing res_query... " >&6; } if ${ac_cv_search_res_query+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_ARPA_NAMESER_H # include #endif #include int main () { res_query(0,0,0,0,0) ; return 0; } _ACEOF for ac_lib in '' resolv bind; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_res_query=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_res_query+:} false; then : break fi done if ${ac_cv_search_res_query+:} false; then : else ac_cv_search_res_query=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_query" >&5 $as_echo "$ac_cv_search_res_query" >&6; } ac_res=$ac_cv_search_res_query if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" EXTRA_LIBS="$EXTRA_LIBS $ac_lib" else as_fn_error $? "could not figure out which C library contains res_query(3)" "$LINENO" 5 fi USE_RES_NQUERY=0 if test "x$ac_cv_have_decl_res_nquery" = xyes; then # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct __res_state" >&5 $as_echo_n "checking size of struct __res_state... " >&6; } if ${ac_cv_sizeof_struct___res_state+:} false; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct __res_state))" "ac_cv_sizeof_struct___res_state" " #include #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_ARPA_NAMESER_H # include #endif #include "; then : else if test "$ac_cv_type_struct___res_state" = yes; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (struct __res_state) See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_struct___res_state=0 fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct___res_state" >&5 $as_echo "$ac_cv_sizeof_struct___res_state" >&6; } cat >>confdefs.h <<_ACEOF #define SIZEOF_STRUCT___RES_STATE $ac_cv_sizeof_struct___res_state _ACEOF SIZEOF_RES_STATE="$ac_cv_sizeof_struct___res_state" if test "$SIZEOF_RES_STATE" -gt 0; then USE_RES_NQUERY=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_nquery" >&5 $as_echo_n "checking for library containing res_nquery... " >&6; } if ${ac_cv_search_res_nquery+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_ARPA_NAMESER_H # include #endif #include int main () { res_nquery(0,0,0,0,0,0) ; return 0; } _ACEOF for ac_lib in '' resolv bind; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_res_nquery=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_res_nquery+:} false; then : break fi done if ${ac_cv_search_res_nquery+:} false; then : else ac_cv_search_res_nquery=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_nquery" >&5 $as_echo "$ac_cv_search_res_nquery" >&6; } ac_res=$ac_cv_search_res_nquery if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" EXTRA_LIBS="$EXTRA_LIBS $ac_lib" else USE_RES_NQUERY=0 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not figure out which C library contains res_nquery(3)" >&5 $as_echo "$as_me: WARNING: could not figure out which C library contains res_nquery(3)" >&2;} fi else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine sizeof(struct __res_state)" >&5 $as_echo "$as_me: WARNING: could not determine sizeof(struct __res_state)" >&2;} fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking which DNS api to use" >&5 $as_echo_n "checking which DNS api to use... " >&6; } case "x$USE_RES_NQUERY" in x0) { $as_echo "$as_me:${as_lineno-$LINENO}: result: res_query(3)" >&5 $as_echo "res_query(3)" >&6; } CPP_OPTIONS="-DUSE_RES_NQUERY=0 -DSIZEOF_RES_STATE=0" ;; x1) { $as_echo "$as_me:${as_lineno-$LINENO}: result: res_nquery(3)" >&5 $as_echo "res_nquery(3)" >&6; } CPP_OPTIONS="-DUSE_RES_NQUERY=1 -DSIZEOF_RES_STATE=$SIZEOF_RES_STATE" ;; *) as_fn_error $? "no suitable DNS API detected" "$LINENO" 5 ;; esac cat >>confdefs.h <<_ACEOF #define USE_RES_NQUERY $USE_RES_NQUERY _ACEOF ac_config_files="$ac_config_files resolv.buildinfo" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by resolv $as_me 0.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ resolv config.status 0.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "cbits/hs_resolv_config.h") CONFIG_HEADERS="$CONFIG_HEADERS cbits/hs_resolv_config.h" ;; "resolv.buildinfo") CONFIG_FILES="$CONFIG_FILES resolv.buildinfo" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi resolv-0.1.1.1/src/0000755000000000000000000000000013174460247012147 5ustar0000000000000000resolv-0.1.1.1/src/Compat.hs0000644000000000000000000000265413174460247013735 0ustar0000000000000000{-# LANGUAGE CPP #-} -- | -- Copyright: © 2017 Herbert Valerio Riedel -- License: GPLv3 module Compat ( toStrict , fromStrict , guard , replicateM , unless , when , A.Applicative(..) , (<$>) , Mon.Monoid(..) , Foldable , F.forM_ , toList , traverse , T.Traversable , module Data.Word , module Data.Int , module Data.Maybe , putInt32be , getInt32be ) where --import qualified Data.ByteString.Lazy as BSL import Control.Applicative as A import Control.Monad as M import Data.Binary.Get import Data.Binary.Put #if MIN_VERSION_bytestring(0,10,0) import Data.ByteString.Lazy (fromStrict, toStrict) #else import qualified Data.ByteString as BS import qualified Data.ByteString.Lazy as BS.L #endif import Data.Foldable as F import Data.Int import Data.Maybe import Data.Monoid as Mon (Monoid (..)) import Data.Traversable as T import Data.Word #if !(MIN_VERSION_bytestring(0,10,0)) fromStrict :: BS.ByteString -> BS.L.ByteString fromStrict = BS.L.fromChunks . (:[]) toStrict :: BS.L.ByteString -> BS.ByteString toStrict = mconcat . BS.L.toChunks #endif #if !MIN_VERSION_binary(0,8,1) putInt32be :: Int32 -> Put putInt32be x = putWord32be (fromIntegral x) getInt32be :: Get Int32 getInt32be = fromIntegral <$> getWord32be #endif resolv-0.1.1.1/src/Network/0000755000000000000000000000000013174460247013600 5ustar0000000000000000resolv-0.1.1.1/src/Network/DNS.hs0000644000000000000000000002707613174460247014574 0ustar0000000000000000{-# LANGUAGE CApiFFI #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE Trustworthy #-} -- | -- Copyright: © 2017 Herbert Valerio Riedel -- License: GPLv3 -- -- This module implements an API for accessing -- the [Domain Name Service (DNS)](https://tools.ietf.org/html/rfc1035) -- resolver service via the standard @libresolv@ system library -- on Unix systems. -- module Network.DNS ( -- ** High level API queryA , queryAAAA , queryCNAME , querySRV , queryTXT -- * Mid-level API , query , DnsException(..) -- * Low-level API , resIsReentrant , queryRaw , sendRaw , mkQueryRaw , decodeMessage , encodeMessage , mkQueryMsg -- * Types -- ** Basic types -- *** Names/Labels , Label , Labels(..) , IsLabels(..) , Name(..) , caseFoldName -- *** Character strings , CharStr(..) -- *** IP addresses , IPv4(..) , IPv6(..) -- *** RR TTL & Class , TTL(..) , Class(..) , classIN -- *** Message types , Type(..) , TypeSym(..) , typeFromSym , typeToSym -- ** Messages , Msg(..) , MsgHeader(..) , MsgHeaderFlags(..), QR(..) , MsgQuestion(..) , MsgRR(..) , RData(..) , rdType , SRV(..) ) where import Control.Exception import Data.Typeable (Typeable) import Foreign.C import Foreign.Marshal.Alloc import Prelude import qualified Data.ByteString as BS import Compat import Network.DNS.FFI import Network.DNS.Message -- | Exception thrown in case of errors while encoding or decoding into a 'Msg'. -- -- @since 0.1.1.0 data DnsException = DnsEncodeException | DnsDecodeException deriving (Show, Typeable) instance Exception DnsException -- | Send a query via @res_query(3)@ and decode its response into a 'Msg' -- -- Throws 'DnsException' in case of encoding or decoding errors. May throw other IO exceptions in case of network errors. -- -- === Example -- -- >>> query classIN (Name "_mirrors.hackage.haskell.org") TypeTXT -- Just (Msg{msgHeader = MsgHeader{mhId = 56694, -- mhFlags = MsgHeaderFlags{mhQR = IsResponse, mhOpcode = 0, mhAA = False, -- mhTC = False, mhRD = True, mhRA = True, mhZ = False, -- mhAD = False, mhCD = False, mhRCode = 0}, -- mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, -- msgQD = [MsgQuestion (Name "_mirrors.hackage.haskell.org.") (Type 16) (Class 1)], -- msgAN = [MsgRR{rrName = Name "_mirrors.hackage.haskell.org.", -- rrClass = Class 1, rrTTL = TTL 299, -- rrData = RDataTXT ["0.urlbase=http://hackage.fpcomplete.com/", -- "1.urlbase=http://objects-us-west-1.dream.io/hackage-mirror/"]}], -- msgNS = [], -- msgAR = [MsgRR{rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}] -- }) -- query :: IsLabels n => Class -> n -> TypeSym -> IO (Msg n) query cls name0 qtype | Just name <- toName name0 = do bs <- queryRaw cls name (typeFromSym qtype) msg <- evaluate (decodeMessage bs) maybe (throwIO DnsDecodeException) pure msg | otherwise = throwIO DnsEncodeException -- | Send a query via @res_query(3)@, the return value is the raw binary response message. -- -- You can use 'decodeMessage' to decode the response message. queryRaw :: Class -> Name -> Type -> IO BS.ByteString queryRaw (Class cls) (Name name) qtype = withCResState $ \stptr -> do allocaBytes max_msg_size $ \resptr -> do _ <- c_memset resptr 0 max_msg_size BS.useAsCString name $ \dn -> do rc1 <- c_res_opt_set_use_dnssec stptr unless (rc1 == 0) $ fail "res_init(3) failed" resetErrno reslen <- c_res_query stptr dn (fromIntegral cls) qtypeVal resptr max_msg_size unless (reslen <= max_msg_size) $ fail "res_query(3) message size overflow" errno <- getErrno when (reslen < 0) $ do unless (errno == eOK) $ throwErrno "res_query" fail "res_query(3) failed" BS.packCStringLen (resptr, fromIntegral reslen) where -- The DNS protocol is inherently 16-bit-offset based; so 64KiB is -- a reasonable maximum message size most implementations seem to -- support. max_msg_size :: Num a => a max_msg_size = 0x10000 qtypeVal :: CInt qtypeVal = case qtype of Type w -> fromIntegral w -- | Send a raw preformatted query via @res_send(3)@. sendRaw :: BS.ByteString -> IO BS.ByteString sendRaw req = withCResState $ \stptr -> do allocaBytes max_msg_size $ \resptr -> do _ <- c_memset resptr 0 max_msg_size BS.useAsCStringLen req $ \(reqptr,reqlen) -> do rc1 <- c_res_opt_set_use_dnssec stptr unless (rc1 == 0) $ fail "res_init(3) failed" resetErrno reslen <- c_res_send stptr reqptr (fromIntegral reqlen) resptr max_msg_size unless (reslen <= max_msg_size) $ fail "res_send(3) message size overflow" errno <- getErrno when (reslen < 0) $ do unless (errno == eOK) $ throwErrno "res_send" fail "res_send(3) failed" BS.packCStringLen (resptr, fromIntegral reslen) where -- The DNS protocol is inherently 16-bit-offset based; so 64KiB is -- a reasonable maximum message size most implementations seem to -- support. max_msg_size :: Num a => a max_msg_size = 0x10000 -- | Construct a DNS query 'Msg' in the style of 'mkQueryRaw' mkQueryMsg :: IsLabels n => Class -> n -> Type -> Msg n mkQueryMsg cls l qtype = Msg (MsgHeader{..}) [MsgQuestion l qtype cls] [] [] [MsgRR {..}] where mhId = 31337 mhFlags = MsgHeaderFlags { mhQR = IsQuery , mhOpcode = 0 , mhAA = False , mhTC = False , mhRD = True , mhRA = False , mhZ = False , mhAD = True , mhCD = False , mhRCode = 0 } mhQDCount = 1 mhANCount = 0 mhNSCount = 0 mhARCount = 1 rrName = fromLabels Root rrClass = Class 512 rrTTL = TTL 0x8000 rrData = RDataOPT "" -- | Use @res_mkquery(3)@ to construct a DNS query message. mkQueryRaw :: Class -> Name -> Type -> IO BS.ByteString mkQueryRaw (Class cls) (Name name) qtype = withCResState $ \stptr -> do allocaBytes max_msg_size $ \resptr -> do _ <- c_memset resptr 0 max_msg_size BS.useAsCString name $ \dn -> do rc1 <- c_res_opt_set_use_dnssec stptr unless (rc1 == 0) $ fail "res_init(3) failed" resetErrno reslen <- c_res_mkquery stptr dn (fromIntegral cls) qtypeVal resptr max_msg_size unless (reslen <= max_msg_size) $ fail "res_mkquery(3) message size overflow" errno <- getErrno when (reslen < 0) $ do unless (errno == eOK) $ throwErrno "res_query" fail "res_mkquery(3) failed" BS.packCStringLen (resptr, fromIntegral reslen) where -- The DNS protocol is inherently 16-bit-offset based; so 64KiB is -- a reasonable maximum message size most implementations seem to -- support. max_msg_size :: Num a => a max_msg_size = 0x10000 qtypeVal :: CInt qtypeVal = case qtype of Type w -> fromIntegral w ---------------------------------------------------------------------------- -- Common High-level queries -- | Normalise 'Name' -- -- This function case folds 'Name's as described in -- in [RFC 4343, section 3](https://tools.ietf.org/html/rfc4343#section-3) -- by subtracting @0x20@ from all octets in the inclusive range -- @[0x61..0x7A]@ (i.e. mapping @['a'..'z']@ to @['A'..'Z']@). -- -- This operation is idempotent. caseFoldName :: Name -> Name caseFoldName (Name n) = (Name n'') where n' = BS.map cf n n'' | BS.null n' = "." | BS.last n' == 0x2e {- '.' -} = n' | otherwise = n' `mappend` "." -- case fold (c.f. RFC4343) cf w | 0x61 <= w && w <= 0x7a = w - 0x20 | otherwise = w ---------------------------------------------------------------------------- -- | Query @A@ record (see [RFC 1035, section 3.4.1](https://tools.ietf.org/html/rfc1035#section-3.4.1)). -- -- This query returns only exact matches (modulo 'foldCaseName'). -- E.g. in case of @CNAME@ responses even if the -- answer section would contain @A@ records for the hostnames pointed -- to by the @CNAME@. You can use 'query' if you need more control. -- -- >>> queryA (Name "www.google.com") -- [(TTL 72,IPv4 0xd83acde4)] -- queryA :: Name -> IO [(TTL,IPv4)] queryA n = do res <- query classIN n' TypeA pure [ (ttl,ip4) | MsgRR { rrData = RDataA ip4, rrTTL = ttl, rrName = n1, rrClass = Class 1 } <- msgAN res, caseFoldName n1 == n' ] where n' = caseFoldName n -- | Query @AAAA@ records (see [RFC 3596](https://tools.ietf.org/html/rfc3596)). -- -- This query returns only exact matches (modulo 'foldCaseName'). -- E.g. in case of @CNAME@ responses even if the answer section would -- contain @A@ records for the hostnames pointed to by the -- @CNAME@. You can use 'query' if you need more control. -- -- >>> queryAAAA (Name "www.google.com") -- [(TTL 299,IPv6 0x2a0014504001081e 0x2004)] -- queryAAAA :: Name -> IO [(TTL,IPv6)] queryAAAA n = do res <- query classIN n' TypeAAAA pure [ (ttl,ip6) | MsgRR { rrData = RDataAAAA ip6, rrTTL = ttl, rrName = n1, rrClass = Class 1 } <- msgAN res, caseFoldName n1 == n' ] where n' = caseFoldName n -- | Query @CNAME@ records (see [RFC 1035, section 3.3.1](https://tools.ietf.org/html/rfc1035#section-3.3.1)). -- -- >>> queryCNAME (Name "hackage.haskell.org") -- [(TTL 299,Name "j.global-ssl.fastly.net.")] -- queryCNAME :: Name -> IO [(TTL,Name)] queryCNAME n = do res <- query classIN n' TypeAAAA pure [ (ttl,cname) | MsgRR { rrData = RDataCNAME cname, rrTTL = ttl, rrName = n1, rrClass = Class 1 } <- msgAN res, caseFoldName n1 == n' ] where n' = caseFoldName n -- | Query @TXT@ records (see [RFC 1035, section 3.3.14](https://tools.ietf.org/html/rfc1035#section-3.3.14)). -- -- >>> queryTXT (Name "_mirrors.hackage.haskell.org") -- [(TTL 299,["0.urlbase=http://hackage.fpcomplete.com/", -- "1.urlbase=http://objects-us-west-1.dream.io/hackage-mirror/"])] -- queryTXT :: Name -> IO [(TTL,[CharStr])] queryTXT n = do res <- query classIN n' TypeTXT pure [ (ttl,txts) | MsgRR { rrData = RDataTXT txts, rrTTL = ttl, rrName = n1, rrClass = Class 1 } <- msgAN res, caseFoldName n1 == n' ] where n' = caseFoldName n -- | Query @SRV@ records (see [RFC 2782](https://tools.ietf.org/html/rfc2782)). -- -- >>> querySRV (Name "_imap._tcp.gmail.com") -- [(TTL 21599,SRV {srvPriority = 0, srvWeight = 0, srvPort = 0, srvTarget = Name "."})] -- querySRV :: Name -> IO [(TTL,SRV Name)] querySRV n = do res <- query classIN n' TypeSRV pure [ (ttl,srv) | MsgRR { rrData = RDataSRV srv, rrTTL = ttl, rrName = n1, rrClass = Class 1 } <- msgAN res, caseFoldName n1 == n' ] where n' = caseFoldName n resolv-0.1.1.1/src/Network/DNS/0000755000000000000000000000000013174460247014224 5ustar0000000000000000resolv-0.1.1.1/src/Network/DNS/Message.hs0000644000000000000000000010201413174460247016142 0ustar0000000000000000{-# LANGUAGE BangPatterns #-} {-# LANGUAGE CApiFFI #-} {-# LANGUAGE DeriveFoldable #-} {-# LANGUAGE DeriveFunctor #-} {-# LANGUAGE DeriveTraversable #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} -- | -- Copyright: © 2017 Herbert Valerio Riedel -- License: GPLv3 -- -- Internal module module Network.DNS.Message where import qualified Data.ByteString.Base16 as B16 import qualified Data.ByteString as BS import qualified Data.ByteString.Lazy as BSL import Data.Function import Data.List (groupBy) import Data.String import Numeric (showHex) import Prelude import Data.Binary import Data.Binary.Get import Data.Binary.Put import Data.Bits import Data.Map (Map) import qualified Data.Map as Map import Data.Set (Set) import qualified Data.Set as Set import Compat -- | An IPv6 address -- -- The IP address is represented in network order, -- i.e. @2606:2800:220:1:248:1893:25c8:1946@ is -- represented as @(IPv6 0x2606280002200001 0x248189325c81946)@. data IPv6 = IPv6 !Word64 !Word64 deriving (Eq,Ord,Read) instance Show IPv6 where showsPrec p (IPv6 hi lo) = showParen (p >= 11) (showString "IPv6 0x" . showHex hi . showString " 0x" . showHex lo) instance Binary IPv6 where put (IPv6 hi lo) = putWord64be hi >> putWord64be lo get = IPv6 <$> getWord64be <*> getWord64be -- | An IPv4 address -- -- The IP address is represented in network order, i.e. @127.0.0.1@ is -- represented as @(IPv4 0x7f000001)@. data IPv4 = IPv4 !Word32 deriving (Eq,Ord,Read) instance Show IPv4 where showsPrec p (IPv4 n) = showParen (p >= 11) (showString "IPv4 0x" . showHex n) instance Binary IPv4 where put (IPv4 w) = putWord32be w get = IPv4 <$> getWord32be -- | @\@ as per [RFC 1035, section 3.3](https://tools.ietf.org/html/rfc1035#section-3.3). -- -- A domain-name represented as a series of labels separated by dots. -- -- See also 'Labels' for list-based representation. -- -- __NOTE__: The 'Labels' type is able to properly represent domain -- names whose components contain dots which the 'Name' representation -- cannot. newtype Name = Name BS.ByteString deriving (Read,Show,Eq,Ord) -- | @\@ as per [RFC 1035, section 3.3](https://tools.ietf.org/html/rfc1035#section-3.3). -- -- A sequence of up to 255 octets -- -- The limit of 255 octets is caused by the encoding which uses by a -- prefixed octet denoting the length. newtype CharStr = CharStr BS.ByteString deriving (Eq,Ord,IsString) instance Show CharStr where showsPrec p (CharStr bs) = showsPrec p bs instance Read CharStr where readsPrec p = map (\(x,y) -> (CharStr x,y)) <$> readsPrec p instance Binary CharStr where put (CharStr bs) | BS.length bs > 0xff = fail "putString: string too long" | otherwise = do putWord8 (fromIntegral $ BS.length bs) putByteString bs get = do len' <- getWord8 CharStr <$> getByteString (fromIntegral len') {- Resource records -- https://en.wikipedia.org/wiki/List_of_DNS_record_types RFC 1035 A 1 a host address NS 2 an authoritative name server CNAME 5 the canonical name for an alias SOA 6 marks the start of a zone of authority PTR 12 a domain name pointer MX 15 mail exchange TXT 16 text strings RFC 3596 AAAA 28 IPv6 RFC 2782 SRV 33 Location of services ---- RFC3597 Handling of Unknown DNS Resource Record (RR) Types -} -- | Represents a DNS message as per [RFC 1035](https://tools.ietf.org/html/rfc1035) data Msg l = Msg { msgHeader :: !MsgHeader , msgQD :: [MsgQuestion l] , msgAN, msgNS, msgAR :: [MsgRR l] } deriving (Read,Show,Functor,Foldable,Traversable) -- | DNS message header section as per [RFC 1035, section 4.1.1](https://tools.ietf.org/html/rfc1035#section-4.1.1) data MsgHeader = MsgHeader { mhId :: !Word16 , mhFlags :: !MsgHeaderFlags , mhQDCount :: !Word16 , mhANCount :: !Word16 , mhNSCount :: !Word16 , mhARCount :: !Word16 } deriving (Read,Show) -- | DNS message header section as per [RFC 1035, section 4.1.2](https://tools.ietf.org/html/rfc1035#section-4.1.2) data MsgQuestion l = MsgQuestion !l !Type !Class deriving (Eq,Read,Show,Functor,Foldable,Traversable) -- | DNS message header flags as per [RFC 1035, section 4.1.1](https://tools.ietf.org/html/rfc1035#section-4.1.1) data MsgHeaderFlags = MsgHeaderFlags { mhQR :: !QR , mhOpcode :: !Word8 -- actually Word4 , mhAA :: !Bool , mhTC :: !Bool , mhRD :: !Bool , mhRA :: !Bool , mhZ :: !Bool -- reserved/unused bit , mhAD :: !Bool -- RFC4035 , mhCD :: !Bool -- RFC4035 , mhRCode :: !Word8 -- Word4 } deriving (Read,Show) -- | DNS resource record section as per [RFC 1035, section 4.1.3](https://tools.ietf.org/html/rfc1035#section-4.1.3) data MsgRR l = MsgRR { rrName :: !l , rrClass :: !Class , rrTTL :: !TTL , rrData :: !(RData l) } deriving (Eq,Read,Show,Functor,Foldable,Traversable) -- | DNS resource record data (see also 'MsgRR' and 'TypeSym') data RData l = RDataA !IPv4 | RDataAAAA !IPv6 | RDataCNAME !l | RDataPTR !l | RDataHINFO !CharStr !CharStr | RDataNS !l | RDataMX !Word16 !l | RDataTXT ![CharStr] | RDataSPF ![CharStr] | RDataSOA !l !l !Word32 !Word32 !Word32 !Word32 !Word32 | RDataSRV !(SRV l) -- RFC 1183 | RDataAFSDB !Word16 !l -- RFC 2915 | RDataNAPTR !Word16 !Word16 !CharStr !CharStr !CharStr !l -- RFC 7553 | RDataURI !Word16 !Word16 !BS.ByteString -- RFC 4034 | RDataRRSIG !Word16 !Word8 !Word8 !Word32 !Word32 !Word32 !Word16 !l !BS.ByteString | RDataDNSKEY !Word16 !Word8 !Word8 !BS.ByteString | RDataDS !Word16 !Word8 !Word8 !BS.ByteString | RDataNSEC !l !(Set Type) -- RFC 4255 | RDataSSHFP !Word8 !Word8 !BS.ByteString -- RFC 5155 | RDataNSEC3PARAM !Word8 !Word8 !Word16 !CharStr | RDataNSEC3 !Word8 !Word8 !Word16 !CharStr !CharStr !(Set Type) -- RFC 6844 | RDataCAA !Word8 !CharStr !BS.ByteString -- pseudo-record | RDataOPT !BS.ByteString -- FIXME -- unknown/unsupported | RData !Type !BS.ByteString -- ^ Unknown/undecoded resource record type deriving (Eq,Read,Show,Functor,Foldable,Traversable) -- | @SRV@ Record data as per [RFC 2782](https://tools.ietf.org/html/rfc2782) data SRV l = SRV { srvPriority :: !Word16 , srvWeight :: !Word16 , srvPort :: !Word16 , srvTarget :: !l } deriving (Eq,Read,Show,Functor,Foldable,Traversable) ---------------------------------------------------------------------------- decodeMessage' :: BS.ByteString -> Maybe (Msg Labels) decodeMessage' bs = do (rest, _, v) <- either handleParseFail Just $ decodeOrFail (fromStrict bs) -- don't allow trailing garbage guard (BSL.null rest) let ofss = Set.fromList $ mapMaybe labelsPtr (toList v) ofsmap <- retrieveLabelPtrs bs ofss traverse (resolveLabelPtr ofsmap) v where -- handleParseFail _ = Nothing handleParseFail (rest, n, e) = error $ show (e, n, BSL.length rest, BS.length bs) ++ "\n" ++ show (B16.encode $ toStrict rest) -- | Decode a raw DNS message (query or response) -- -- Returns 'Nothing' on decoding failures. decodeMessage :: IsLabels n => BS.ByteString -> Maybe (Msg n) decodeMessage = fmap (fmap fromLabels) . decodeMessage' encodeMessage' :: Msg Labels -> BS.ByteString encodeMessage' m = toStrict $ encode (fmap labels2labelsPtr m) -- | Construct a raw DNS message (query or response) -- -- May return 'Nothing' in input parameters are detected to be invalid. encodeMessage :: IsLabels n => Msg n -> Maybe BS.ByteString encodeMessage m = encodeMessage' <$> traverse toLabels m instance Binary l => Binary (Msg l) where get = do hdr@MsgHeader{..} <- get Msg hdr <$> replicateM (fromIntegral mhQDCount) get <*> replicateM (fromIntegral mhANCount) get <*> replicateM (fromIntegral mhNSCount) get <*> replicateM (fromIntegral mhARCount) get put (Msg hdr qds ans nss ars) = do put hdr mapM_ put qds mapM_ put ans mapM_ put nss mapM_ put ars instance Binary MsgHeader where get = MsgHeader <$> getWord16be <*> get <*> getWord16be <*> getWord16be <*> getWord16be <*> getWord16be put (MsgHeader{..}) = do putWord16be mhId put mhFlags putWord16be mhQDCount putWord16be mhANCount putWord16be mhNSCount putWord16be mhARCount instance Binary MsgHeaderFlags where put = putWord16be . encodeFlags get = decodeFlags <$> getWord16be -- | Decode message header flag field -- -- > +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ -- > |QR| Opcode |AA|TC|RD|RA|??|AD|CD| RCODE | -- > +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ -- decodeFlags :: Word16 -> MsgHeaderFlags decodeFlags w = MsgHeaderFlags{..} where mhQR = if testBit w 15 then IsResponse else IsQuery mhOpcode = shiftR' 11 .&. 0xf mhAA = testBit w 10 mhTC = testBit w 9 mhRD = testBit w 8 mhRA = testBit w 7 mhZ = testBit w 6 mhAD = testBit w 5 mhCD = testBit w 4 mhRCode = fromIntegral w .&. 0xf shiftR' = fromIntegral . shiftR w encodeFlags :: MsgHeaderFlags -> Word16 encodeFlags MsgHeaderFlags{..} = (case mhQR of IsResponse -> bit 15 IsQuery -> 0) .|. (fromIntegral mhOpcode `shiftL` 11) .|. (if mhAA then bit 10 else 0) .|. (if mhTC then bit 9 else 0) .|. (if mhRD then bit 8 else 0) .|. (if mhRA then bit 7 else 0) .|. (if mhZ then bit 6 else 0) .|. (if mhAD then bit 5 else 0) .|. (if mhCD then bit 4 else 0) .|. (fromIntegral mhRCode) -- | Encodes whether message is a query or a response -- -- @since 0.1.1.0 data QR = IsQuery | IsResponse deriving (Eq,Read,Show) ---------------------------------------------------------------------------- infixr 5 :.: -- | A DNS Label -- -- Must be non-empty and at most 63 octets. type Label = BS.ByteString -- | A @@ as per [RFC 1035, section 3.3](https://tools.ietf.org/html/rfc1035#section-3.3) expressed as list of 'Label's. -- -- See also 'Name' data Labels = !Label :.: !Labels | Root deriving (Read,Show,Eq,Ord) labelsToList :: Labels -> [Label] labelsToList (x :.: xs) = x : labelsToList xs labelsToList Root = [""] -- | Types that represent @@ as per [RFC 1035, section 3.3](https://tools.ietf.org/html/rfc1035#section-3.3) and can be converted to and from 'Labels'. class IsLabels s where toLabels :: s -> Maybe Labels fromLabels :: Labels -> s instance IsLabels Labels where fromLabels = id toLabels ls | all isLabelValid (init (labelsToList ls)) = Just ls | otherwise = Nothing where isLabelValid l = not (BS.null l) && BS.length l < 0x40 instance IsLabels Name where fromLabels = labels2name toLabels = name2labels toName :: IsLabels n => n -> Maybe Name toName = fmap fromLabels . toLabels name2labels :: Name -> Maybe Labels name2labels (Name n) | all (\l -> not (BS.null l) && BS.length l < 0x40) n' = Just $! foldr (:.:) Root n' | otherwise = Nothing where n' | BS.isSuffixOf "." n = BS.split 0x2e (BS.init n) | otherwise = BS.split 0x2e n labels2name :: Labels -> Name labels2name Root = Name "." labels2name ls = Name (BS.intercalate "." $ labelsToList ls) -- | IOW, a domain-name -- -- May contain pointers -- -- Can be resolved into a 'Labels' without label ptrs. data LabelsPtr = Label !Label !LabelsPtr -- ^ See RC2181: a label must be between 1-63 octets; can be arbitrary binary data | LPtr !Word16 | LNul deriving (Eq,Read,Show) labels2labelsPtr :: Labels -> LabelsPtr labels2labelsPtr Root = LNul labels2labelsPtr (l :.: rest) = Label l (labels2labelsPtr rest) instance Binary LabelsPtr where get = go [] where go acc = do l0 <- getLabel case l0 of Right bs | BS.null bs -> pure (foldr Label LNul $ reverse acc) | otherwise -> go (bs:acc) Left ofs -> pure (foldr Label (LPtr ofs) $ reverse acc) getLabel :: Get (Either Word16 BS.ByteString) getLabel = do len <- getWord8 if len >= 0x40 then do when (len .&. 0xc0 /= 0xc0) $ fail ("invalid length octet " ++ show len) ofs <- fromIntegral <$> getWord8 pure $ Left $ (fromIntegral (len .&. 0x3f) `shiftL` 8) .|. ofs else Right <$> getByteString (fromIntegral len) put LNul = putWord8 0 put (Label l next) | BS.length l < 1 || BS.length l >= 0x40 = error "put (Label {}): invalid label size" | otherwise = do putWord8 (fromIntegral (BS.length l)) putByteString l put next put (LPtr ofs) | ofs < 0x4000 = putWord16be (0xc000 .|. ofs) | otherwise = error "put (LPtr {}): invalid offset" -- | Compute serialised size of 'LabelsPtr' labelsSize :: LabelsPtr -> Word16 labelsSize = fromIntegral . go 0 where go n (LPtr _) = n+2 go n LNul = n+1 go n (Label bs rest) = go (n + 1 + BS.length bs) rest -- | Extract pointer-offset from 'LabelsPtr' (if it exists) labelsPtr :: LabelsPtr -> Maybe Word16 labelsPtr (Label _ ls) = labelsPtr ls labelsPtr LNul = Nothing labelsPtr (LPtr ofs) = Just ofs ---------------------------------------------------------------------------- instance Binary l => Binary (MsgQuestion l) where get = MsgQuestion <$> get <*> get <*> get put (MsgQuestion l qt cls) = put l >> put qt >> put cls instance Binary l => Binary (MsgRR l) where get = do rrName <- get rrType <- get rrClass <- get rrTTL <- get rrData <- getRData rrType pure (MsgRR {..}) put (MsgRR{..}) = do put rrName put (either id typeFromSym $ rdType rrData) put rrClass put rrTTL putRData rrData getRData :: Binary l => Type -> Get (RData l) getRData qt = do len <- fromIntegral <$> getWord16be let unknownRdata = RData qt <$> getByteString len getByteStringRest = consumeRestWith getByteString consumeRestWith act = do curofs <- fromIntegral <$> bytesRead act (len - curofs) isolate len $ case typeToSym qt of Nothing -> unknownRdata Just ts -> case ts of TypeA -> RDataA <$> get TypeAFSDB -> RDataAFSDB <$> getWord16be <*> get TypeNS -> RDataNS <$> get TypeCNAME -> RDataCNAME <$> get TypeSOA -> RDataSOA <$> get <*> get <*> getWord32be <*> getWord32be <*> getWord32be <*> getWord32be <*> getWord32be TypePTR -> RDataPTR <$> get TypeHINFO -> RDataHINFO <$> get <*> get TypeMX -> RDataMX <$> getWord16be <*> get TypeTXT -> RDataTXT <$> getUntilEmpty TypeSPF -> RDataSPF <$> getUntilEmpty TypeAAAA -> RDataAAAA <$> get TypeSRV -> RDataSRV <$> get TypeNAPTR -> RDataNAPTR <$> getWord16be -- order <*> getWord16be --preference <*> get -- flags <*> get -- services <*> get -- regexp <*> get -- replacement TypeRRSIG -> RDataRRSIG <$> getWord16be <*> getWord8 <*> getWord8 <*> getWord32be <*> getWord32be <*> getWord32be <*> getWord16be <*> get -- uncompressed <*> getByteStringRest TypeDNSKEY -> RDataDNSKEY <$> getWord16be <*> getWord8 <*> getWord8 <*> getByteString (len - 4) TypeDS -> RDataDS <$> getWord16be <*> getWord8 <*> getWord8 <*> getByteString (len - 4) TypeNSEC -> RDataNSEC <$> get <*> decodeNsecTypeMap TypeURI -> RDataURI <$> getWord16be -- prio <*> getWord16be -- weight <*> getByteString (len - 4) TypeSSHFP -> RDataSSHFP <$> getWord8 <*> getWord8 <*> getByteString (len - 2) TypeNSEC3PARAM -> RDataNSEC3PARAM <$> getWord8 <*> getWord8 <*> getWord16be <*> get -- salt TypeNSEC3 -> RDataNSEC3 <$> getWord8 <*> getWord8 <*> getWord16be <*> get -- salt <*> get -- next hashed owner name <*> decodeNsecTypeMap TypeCAA -> RDataCAA <$> getWord8 -- flags <*> get -- tag -- TODO: must be non-empty <*> getByteStringRest TypeOPT -> RDataOPT <$> getByteString len -- FIXME TypeANY -> unknownRdata -- shouldn't happen putRData :: Binary l => RData l -> Put putRData rd = do let rdata = runPut (putRData' rd) rdataLen = BSL.length rdata unless (rdataLen < 0x10000) $ fail "rdata too large" putWord16be (fromIntegral rdataLen) putLazyByteString rdata putRData' :: Binary l => RData l -> Put putRData' rd = case rd of RDataA ip4 -> put ip4 RDataAAAA ip6 -> put ip6 RDataCNAME cname -> put cname RDataOPT d -> putByteString d RDataMX prio l -> putWord16be prio >> put l RDataSOA l1 l2 w1 w2 w3 w4 w5 -> do put l1 put l2 putWord32be w1 putWord32be w2 putWord32be w3 putWord32be w4 putWord32be w5 RDataPTR l -> put l RDataNS l -> put l RDataTXT ss -> mapM_ put ss RDataSPF ss -> mapM_ put ss RDataSRV srv -> put srv RDataAFSDB w l -> putWord16be w >> put l RDataHINFO s1 s2 -> put s1 >> put s2 RDataRRSIG w1 w2 w3 w4 w5 w6 w7 l s -> do putWord16be w1 putWord8 w2 putWord8 w3 putWord32be w4 putWord32be w5 putWord32be w6 putWord16be w7 put l putByteString s RDataDNSKEY w1 w2 w3 s -> do putWord16be w1 putWord8 w2 putWord8 w3 putByteString s RDataNSEC3PARAM w1 w2 w3 s -> do putWord8 w1 putWord8 w2 putWord16be w3 put s RDataNSEC3 w1 w2 w3 s1 s2 tm -> do putWord8 w1 putWord8 w2 putWord16be w3 put s1 put s2 encodeNsecTypeMap tm RDataCAA fl s1 s2 -> do putWord8 fl put s1 putByteString s2 RDataURI w1 w2 s -> do putWord16be w1 putWord16be w2 putByteString s RDataDS w1 w2 w3 s -> do putWord16be w1 putWord8 w2 putWord8 w3 putByteString s RDataNSEC l tm -> do put l encodeNsecTypeMap tm RDataNAPTR w1 w2 s1 s2 s3 l -> do putWord16be w1 putWord16be w2 put s1 put s2 put s3 put l RDataSSHFP w1 w2 s -> do putWord8 w1 putWord8 w2 putByteString s RData _ raw -> putByteString raw -- _ -> error ("putRData: " ++ show rd) instance Binary l => Binary (SRV l) where get = SRV <$> getWord16be <*> getWord16be <*> getWord16be <*> get put (SRV w1 w2 w3 l) = do putWord16be w1 putWord16be w2 putWord16be w3 put l {- NSEC type-bitmap example: A NS SOA TXT AAAA RRSIG NSEC DNSKEY '00 07 62 00 80 08 00 03 80' '00000000 00000111 01100010 00000000 10000000 00001000 00000000 00000011 10000000' Win=#0 len=7 ^{SOA} ^{TXT} ^{AAAA} ^{DNSKEY} ^^{A,NS} ^^{RRSIG,NSEC} -} decodeNsecTypeMap :: Get (Set Type) decodeNsecTypeMap = do r <- concat <$> untilEmptyWith decode1 -- TODO: enforce uniqueness pure (Set.fromList r) where -- decode single window decode1 = do wi <- getWord8 l <- getWord8 unless (0 < l && l <= 32) $ fail "invalid bitmap length" bmap <- getByteString (fromIntegral l) let winofs = (fromIntegral wi)*0x100 :: Int lst = [ Type (fromIntegral (winofs+j*8+7-i)) | (j,x) <- zip [0..] (BS.unpack bmap) , i <- [7,6..0] , testBit x i ] pure lst encodeNsecTypeMap :: Set Type -> Put encodeNsecTypeMap bmap = do when (Set.null bmap) $ fail "invalid empty type-map" -- when (Set.member 0 bmap) $ fail "invalid TYPE0 set in type-map" -- TODO: verify that Meta-TYPES and QTYPEs aren't contained in bmap forM_ (Map.toList bmap') $ \(wi, tm) -> do putWord8 wi put (CharStr $ BS.pack tm) where bmap' = fmap set2bitmap . splitToBlocks $ Set.map (\(Type w)->w) bmap set2bitmap :: Set Word8 -> [Word8] set2bitmap = go 0 0 . Set.toList where go _ acc [] = if acc == 0 then [] else [acc] go j acc (i:is) | j' > j = acc : go (j+1) 0 (i:is) | j' == j = go j' (acc .|. bit (7 - fromIntegral i')) is | otherwise = error "set2bitmap: the impossible happened" where (j',i') = i `quotRem` 8 splitToBlocks :: Set Word16 -> Map Word8 (Set Word8) splitToBlocks js = Map.fromList $ map (\xs -> (fst $ head xs, Set.fromList (map snd xs))) js' where hi16 :: Word16 -> Word8 hi16 = fromIntegral . flip shiftR 8 lo16 :: Word16 -> Word8 lo16 = fromIntegral . (.&. 0xff) js' :: [[(Word8,Word8)]] js' = groupBy ((==) `on` fst) (map ((,) <$> hi16 <*> lo16) (Set.toList js)) -- | Resolves/parses label pointer used for label compressing -- -- Returns 'Nothing' on failure retrieveLabelPtr :: BS.ByteString -> Word16 -> Maybe LabelsPtr retrieveLabelPtr msg ofs = case decodeOrFail (fromStrict $ BS.drop (fromIntegral ofs) msg) of Left _ -> Nothing Right (_, _, v) -> Just v -- | Resolve set of label pointer offsets -- -- Invariants (/iff/ result is not 'Nothing') -- -- * all requested offsets will be contained in the result map -- -- * any offsets contained in the resolved 'Labels' will be part of -- the result map as well -- -- NB: No cycle detection is performed, nor are 'Labels' flattened retrieveLabelPtrs :: BS.ByteString -> Set Word16 -> Maybe (Map Word16 LabelsPtr) retrieveLabelPtrs msg ofss0 = go =<< lupPtrs1 ofss0 where go :: Map Word16 LabelsPtr -> Maybe (Map Word16 LabelsPtr) go m0 = do let missingOfss = Set.fromList (mapMaybe labelsPtr (toList m0)) Set.\\ Map.keysSet m0 if Set.null missingOfss then pure m0 -- fix-point reached else do m1 <- lupPtrs1 missingOfss go (Map.union m0 m1) -- single lookup step lupPtrs1 :: Set Word16 -> Maybe (Map Word16 LabelsPtr) lupPtrs1 ofss1 = Map.fromList . zip (toList ofss1) <$> traverse (retrieveLabelPtr msg) (toList ofss1) -- | Checks for maximum name length (255) and (therefore indirectly) cycle-checking resolveLabelPtr :: Map Word16 LabelsPtr -> LabelsPtr -> Maybe Labels resolveLabelPtr ofsmap = go 0 [] where go :: Int -> [BS.ByteString] -> LabelsPtr -> Maybe Labels go !n acc (Label x ls) = go (n+1+BS.length x) (x:acc) ls go n acc LNul | n < 255 = Just $! foldr (:.:) Root (reverse acc) | otherwise = Nothing -- length violation go n acc (LPtr ofs) | n < 255 = go n acc =<< lup ofs | otherwise = Nothing lup :: Word16 -> Maybe LabelsPtr lup ofs = Map.lookup ofs ofsmap {- Resource records -- https://en.wikipedia.org/wiki/List_of_DNS_record_types RFC 1035 A 1 a host address NS 2 an authoritative name server CNAME 5 the canonical name for an alias SOA 6 marks the start of a zone of authority PTR 12 a domain name pointer MX 15 mail exchange TXT 16 text strings RFC 3596 AAAA 28 IPv6 RFC 2782 SRV 33 Location of services ---- RFC3597 Handling of Unknown DNS Resource Record (RR) Types -} -- | Raw DNS record type code -- -- See also 'TypeSym' newtype Type = Type Word16 deriving (Eq,Ord,Read,Show) instance Binary Type where put (Type w) = putWord16be w get = Type <$> getWord16be -- | DNS @CLASS@ code as per [RFC 1035, section 3.2.4](https://tools.ietf.org/html/rfc1035#section-3.2.4) -- -- The most commonly used value is 'classIN'. newtype Class = Class Word16 deriving (Eq,Ord,Read,Show) -- | The 'Class' constant for @IN@ (Internet) classIN :: Class classIN = Class 1 instance Binary Class where put (Class w) = putWord16be w get = Class <$> getWord16be -- | Cache time-to-live expressed in seconds newtype TTL = TTL Int32 deriving (Eq,Ord,Read,Show) instance Binary TTL where put (TTL i) = putInt32be i get = TTL <$> getInt32be -- http://www.bind9.net/dns-parameters -- | Symbolic DNS record type data TypeSym = TypeA -- ^ [RFC 1035](https://tools.ietf.org/html/rfc1035) | TypeAAAA -- ^ [RFC 3596](https://tools.ietf.org/html/rfc3596) | TypeAFSDB -- ^ [RFC 1183](https://tools.ietf.org/html/rfc1183) | TypeANY -- ^ [RFC 1035](https://tools.ietf.org/html/rfc1035) (query) | TypeCAA -- ^ [RFC 6844](https://tools.ietf.org/html/rfc6844) | TypeCNAME -- ^ [RFC 1035](https://tools.ietf.org/html/rfc1035) | TypeDNSKEY -- ^ [RFC 4034](https://tools.ietf.org/html/rfc4034) | TypeDS -- ^ [RFC 4034](https://tools.ietf.org/html/rfc4034) | TypeHINFO -- ^ [RFC 1035](https://tools.ietf.org/html/rfc1035) | TypeMX -- ^ [RFC 1035](https://tools.ietf.org/html/rfc1035) | TypeNAPTR -- ^ [RFC 2915](https://tools.ietf.org/html/rfc2915) | TypeNS -- ^ [RFC 1035](https://tools.ietf.org/html/rfc1035) | TypeNSEC -- ^ [RFC 4034](https://tools.ietf.org/html/rfc4034) | TypeNSEC3 -- ^ [RFC 5155](https://tools.ietf.org/html/rfc5155) | TypeNSEC3PARAM -- ^ [RFC 5155](https://tools.ietf.org/html/rfc5155) | TypeOPT -- ^ [RFC 6891](https://tools.ietf.org/html/rfc6891) (meta) | TypePTR -- ^ [RFC 1035](https://tools.ietf.org/html/rfc1035) | TypeRRSIG -- ^ [RFC 4034](https://tools.ietf.org/html/rfc4034) | TypeSOA -- ^ [RFC 1035](https://tools.ietf.org/html/rfc1035) | TypeSPF -- ^ [RFC 4408](https://tools.ietf.org/html/rfc4408) | TypeSRV -- ^ [RFC 2782](https://tools.ietf.org/html/rfc2782) | TypeSSHFP -- ^ [RFC 4255](https://tools.ietf.org/html/rfc4255) | TypeTXT -- ^ [RFC 1035](https://tools.ietf.org/html/rfc1035) | TypeURI -- ^ [RFC 7553](https://tools.ietf.org/html/rfc7553) deriving (Eq,Ord,Enum,Bounded,Read,Show) -- | Convert symbolic 'TypeSym' to numeric 'Type' code typeFromSym :: TypeSym -> Type typeFromSym ts = Type $ case ts of TypeA -> 1 TypeNS -> 2 TypeCNAME -> 5 TypeSOA -> 6 TypePTR -> 12 TypeHINFO -> 13 TypeMX -> 15 TypeTXT -> 16 TypeAFSDB -> 18 TypeAAAA -> 28 TypeSRV -> 33 TypeNAPTR -> 35 TypeOPT -> 41 TypeDS -> 43 TypeSSHFP -> 44 TypeRRSIG -> 46 TypeNSEC -> 47 TypeDNSKEY -> 48 TypeNSEC3 -> 50 TypeNSEC3PARAM -> 51 TypeSPF -> 99 TypeANY -> 255 TypeURI -> 256 TypeCAA -> 257 -- | Convert 'Type' code to symbolic 'TypeSym' typeToSym :: Type -> Maybe TypeSym typeToSym (Type w) = case w of 1 -> Just TypeA 2 -> Just TypeNS 5 -> Just TypeCNAME 6 -> Just TypeSOA 12 -> Just TypePTR 13 -> Just TypeHINFO 15 -> Just TypeMX 16 -> Just TypeTXT 18 -> Just TypeAFSDB 28 -> Just TypeAAAA 33 -> Just TypeSRV 35 -> Just TypeNAPTR 41 -> Just TypeOPT 43 -> Just TypeDS 44 -> Just TypeSSHFP 46 -> Just TypeRRSIG 47 -> Just TypeNSEC 48 -> Just TypeDNSKEY 50 -> Just TypeNSEC3 51 -> Just TypeNSEC3PARAM 99 -> Just TypeSPF 255 -> Just TypeANY 256 -> Just TypeURI 257 -> Just TypeCAA _ -> Nothing -- | Extract the resource record type of a 'RData' object rdType :: RData l -> Either Type TypeSym rdType rd = case rd of RDataA {} -> Right TypeA RDataAAAA {} -> Right TypeAAAA RDataAFSDB {} -> Right TypeAFSDB RDataCAA {} -> Right TypeCAA RDataCNAME {} -> Right TypeCNAME RDataDNSKEY {} -> Right TypeDNSKEY RDataDS {} -> Right TypeDS RDataHINFO {} -> Right TypeHINFO RDataMX {} -> Right TypeMX RDataNAPTR {} -> Right TypeNAPTR RDataNS {} -> Right TypeNS RDataNSEC {} -> Right TypeNSEC RDataNSEC3 {} -> Right TypeNSEC3 RDataNSEC3PARAM {} -> Right TypeNSEC3PARAM RDataOPT {} -> Right TypeOPT RDataPTR {} -> Right TypePTR RDataRRSIG {} -> Right TypeRRSIG RDataSOA {} -> Right TypeSOA RDataSRV {} -> Right TypeSRV RDataTXT {} -> Right TypeTXT RDataSPF {} -> Right TypeSPF RDataURI {} -> Right TypeURI RDataSSHFP {} -> Right TypeSSHFP -- RData ty _ -> maybe (Left ty) Right (typeToSym ty) {- TODO: type-bitmap: A NS SOA TXT AAAA RRSIG NSEC DNSKEY '00 07 62 00 80 08 00 03 80' '00000000 00000111 01100010 00000000 10000000 00001000 00000000 00000011 10000000' Win=#0 len=7 ^{SOA} ^{TXT} ^{AAAA} ^{DNSKEY} ^^{A,NS} ^^{RRSIG,NSEC} " ".join(map("{:08b}".format,[0,7,98,0,128,8,0,3,128])) "\NUL\a\"\NUL\NUL\NUL\NUL\ETX\128" NS SOA RRSIG NSEC DNSKEY [ (winofs+j*8+7-i) | (j,x) <- zip [0..] xs, i <- [7,6..0], testBit x i ] -} -- helpers getUntilEmpty :: Binary a => Get [a] getUntilEmpty = untilEmptyWith get untilEmptyWith :: Get a -> Get [a] untilEmptyWith g = go [] where go acc = do e <- isEmpty if e then pure (reverse acc) else do v <- g go (v : acc) {- TODO: MsgRR{rrName = Name "stanford.edu.", rrClass = 1, rrTTL = 1799, rrData = RData 29 "\NUL\DC2\SYN\DC3\136\a\244\212e\200\252\194\NUL\152\150\128"}, https://en.wikipedia.org/wiki/LOC_record LOC record statdns.net. IN LOC 52 22 23.000 N 4 53 32.000 E -2.00m 0.00m 10000m 10m SW1A2AA.find.me.uk. 86399 IN LOC 51 30 12.748 N 0 7 39.611 W 0.00m 0.00m 0.00m 0.00m https://tools.ietf.org/html/rfc1876 -} resolv-0.1.1.1/src/Network/DNS/FFI.hs0000644000000000000000000000451713174460247015173 0ustar0000000000000000{-# LANGUAGE CApiFFI #-} {-# LANGUAGE CPP #-} module Network.DNS.FFI where import Control.Concurrent.MVar import Foreign.C import Foreign.Marshal.Alloc import Foreign.Ptr import System.IO.Unsafe (unsafePerformIO) #if !defined(USE_RES_NQUERY) # error USE_RES_NQUERY not defined #endif {-# INLINE resIsReentrant #-} -- | Whether the reentrant DNS resolver C API (e.g. @res_nquery(3)@, @res_nsend(3)@) is being used. -- -- If this this 'False', then as a fall-back -- @res_query(3)@/@res_send(3)@ are used, protected by a global mutex. -- -- @since 0.1.1.0 resIsReentrant :: Bool #if USE_RES_NQUERY resIsReentrant = True #else resIsReentrant = False #endif #if !defined(SIZEOF_RES_STATE) # error SIZEOF_RES_STATE not defined #endif #if USE_RES_NQUERY && (SIZEOF_RES_STATE <= 0) # error broken invariant #endif {-# INLINE sizeOfResState #-} sizeOfResState :: CSize sizeOfResState = SIZEOF_RES_STATE data CResState {-# NOINLINE resolvLock #-} resolvLock :: MVar () resolvLock = unsafePerformIO $ newMVar () withCResState :: (Ptr CResState -> IO a) -> IO a withCResState act | resIsReentrant = allocaBytes (fromIntegral sizeOfResState) $ \ptr -> do _ <- c_memset ptr 0 sizeOfResState act ptr | otherwise = withMVar resolvLock $ \() -> act nullPtr -- void *memset(void *s, int c, size_t n); foreign import capi unsafe "string.h memset" c_memset :: Ptr a -> CInt -> CSize -> IO (Ptr a) -- int res_query(void *, const char *dname, int class, int type, unsigned char *answer, int anslen); foreign import capi safe "hs_resolv.h hs_res_query" c_res_query :: Ptr CResState -> CString -> CInt -> CInt -> Ptr CChar -> CInt -> IO CInt -- int res_send(void *, const unsigned char *msg, int msglen, unsigned char *answer, int anslen); foreign import capi safe "hs_resolv.h hs_res_send" c_res_send :: Ptr CResState -> Ptr CChar -> CInt -> Ptr CChar -> CInt -> IO CInt -- int res_opt_set_use_dnssec(void *); foreign import capi safe "hs_resolv.h res_opt_set_use_dnssec" c_res_opt_set_use_dnssec :: Ptr CResState -> IO CInt -- int hs_res_mkquery(void *, const char *dname, int class, int type, unsigned char *req, int reqlen0); foreign import capi safe "hs_resolv.h hs_res_mkquery" c_res_mkquery :: Ptr CResState -> CString -> CInt -> CInt -> Ptr CChar -> CInt -> IO CInt resolv-0.1.1.1/src-test/0000755000000000000000000000000013174460247013124 5ustar0000000000000000resolv-0.1.1.1/src-test/Tests1.hs0000644000000000000000000000642713174460247014654 0ustar0000000000000000{-# LANGUAGE OverloadedStrings #-} module Main where import Control.Applicative as A import qualified Control.Exception as E import Control.Monad import qualified Data.ByteString as BS import System.Directory (getDirectoryContents, removeFile) import System.FilePath (dropExtension, takeExtension, (<.>), ()) import qualified Test.Tasty as T import qualified Test.Tasty.HUnit as T import qualified Network.DNS as DNS main :: IO () main = do msgfiles <- filter ((== ".bin") . takeExtension) <$> getDirectoryContents "testdata/msg" let tests1 = [ msgFileTest1 (dropExtension fn) | fn <- msgfiles ] tests2 = [ msgFileTest2 (dropExtension fn) | fn <- msgfiles ] T.defaultMain (T.testGroup "" [ T.testGroup "decode" tests1 , T.testGroup "enc/dec" tests2 , T.testGroup "Type/TypeSym" [ testTypeToFromSym1, testTypeToFromSym2 ] , T.testGroup "mkQueryRaw" [ mkQueryRawText1 ] ]) testTypeToFromSym1 :: T.TestTree testTypeToFromSym1 = T.testCase "testTypeToFromSym1" $ do forM_ [minBound..maxBound] $ \sym -> do T.assertEqual "" (Just sym) (DNS.typeToSym . DNS.typeFromSym $ sym) testTypeToFromSym2 :: T.TestTree testTypeToFromSym2 = T.testCase "testTypeToFromSym2" $ do forM_ (map DNS.Type [minBound..maxBound]) $ \ty -> case DNS.typeToSym ty of Nothing -> pure () Just sym -> T.assertEqual "" (DNS.typeFromSym sym) ty msgFileTest1 :: FilePath -> T.TestTree msgFileTest1 fn = T.testCase fn $ do bs <- BS.readFile ("testdata" "msg" fn <.> "bin") msg1 <- assertJust "failed to decode message" $ DNS.decodeMessage bs -- load reference value let refFn = "testdata" "msg" fn <.> "show" writeFile (refFn ++ "~") (show (msg1 :: DNS.Msg DNS.Name)) msg0 <- read <$> readFile refFn assertEqShow (pure ()) msg0 msg1 removeFile (refFn ++ "~") msgFileTest2 :: FilePath -> T.TestTree msgFileTest2 fn = T.testCase fn $ do -- use this as reference message bs <- BS.readFile ("testdata" "msg" fn <.> "bin") msg0 <- assertJust "failed to decode stored message" $ DNS.decodeMessage bs -- print msg0 -- encode it now again let Just msg0bin = DNS.encodeMessage (msg0 :: DNS.Msg DNS.Labels) msg1 <- assertJust "failed to decode re-encoded message" $ DNS.decodeMessage msg0bin assertEqShow (pure ()) msg0 msg1 mkQueryRawText1 :: T.TestTree mkQueryRawText1 = T.testCase "mkQueryRawText1" $ do msgraw <- DNS.mkQueryRaw DNS.classIN (DNS.Name "www.google.com") (DNS.typeFromSym DNS.TypeA) let Just msg = DNS.decodeMessage msgraw assertEqShow (pure ()) (head (DNS.msgQD msg)) (DNS.MsgQuestion (DNS.Name "www.google.com.") (DNS.Type 1) (DNS.Class 1)) assertJust :: String -> Maybe a -> IO a assertJust msg Nothing = E.throwIO (T.HUnitFailure msg) assertJust _ (Just v) = A.pure v assertEqShow :: Show a => IO () -> a -> a -> T.Assertion assertEqShow onFail ref cur | show ref /= show cur = do onFail T.assertFailure ("expected: " ++ show ref ++ "\n but got: " ++ show cur) | otherwise = A.pure () resolv-0.1.1.1/cbits/0000755000000000000000000000000013174460247012464 5ustar0000000000000000resolv-0.1.1.1/cbits/hs_resolv.h0000644000000000000000000000456513174460247014653 0ustar0000000000000000#if !defined(HS_RESOLV_H) #define HS_RESOLV_H #include "hs_resolv_config.h" #include #if defined(HAVE_NETINET_IN_H) # include #endif #if defined(HAVE_ARPA_NAMESER_H) # include #endif #include #include /* This is usually provided via */ #if !defined(QUERY) # define QUERY ns_o_query #endif #if !defined(USE_RES_NQUERY) # error USE_RES_NQUERY not defined #endif #if USE_RES_NQUERY && (SIZEOF_STRUCT___RES_STATE <= 0) # error broken invariant #endif #if USE_RES_NQUERY inline static int res_opt_set_use_dnssec(struct __res_state *s) { assert(s); if (!(s->options & RES_INIT)) { int rc = res_ninit(s); if (rc) return rc; } s->options |= RES_USE_DNSSEC | RES_USE_EDNS0; return 0; } inline static int hs_res_mkquery(struct __res_state *s, const char *dname, int class, int type, unsigned char *req, int reqlen0) { assert(s); int reqlen = res_nmkquery(s, QUERY, dname, class, type, NULL, 0, NULL, req, reqlen0); assert(reqlen <= reqlen0); return reqlen; } inline static int hs_res_send(struct __res_state *s, const unsigned char *msg, int msglen, unsigned char *answer, int anslen) { assert(s); return res_nsend(s, msg, msglen, answer, anslen); } inline static int hs_res_query(struct __res_state *s, const char *dname, int class, int type, unsigned char *answer, int anslen) { assert(s); return res_nquery(s, dname, class, type, answer, anslen); } #else /* use non-reentrant API */ inline static int res_opt_set_use_dnssec(void *s) { assert(!s); if (!(_res.options & RES_INIT)) { int rc = res_init(); if (rc) return rc; } _res.options |= RES_USE_DNSSEC | RES_USE_EDNS0; return 0; } inline static int hs_res_mkquery(void *s, const char *dname, int class, int type, unsigned char *req, int reqlen0) { assert(!s); int reqlen = res_mkquery(QUERY, dname, class, type, NULL, 0, NULL, req, reqlen0); assert(reqlen <= reqlen0); return reqlen; } inline static int hs_res_send(void *s, const unsigned char *msg, int msglen, unsigned char *answer, int anslen) { assert(!s); return res_send(msg, msglen, answer, anslen); } inline static int hs_res_query(void *s, const char *dname, int class, int type, unsigned char *answer, int anslen) { assert(!s); return res_query(dname, class, type, answer, anslen); } #endif #endif /* HS_RESOLV_H */ resolv-0.1.1.1/cbits/hs_resolv_config.h.in0000644000000000000000000000375413174460247016604 0ustar0000000000000000/* cbits/hs_resolv_config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_NAMESER_H /* Define to 1 if you have the declaration of `res_nquery', and to 0 if you don't. */ #undef HAVE_DECL_RES_NQUERY /* Define to 1 if you have the declaration of `res_query', and to 0 if you don't. */ #undef HAVE_DECL_RES_QUERY /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* The size of `struct __res_state', as computed by sizeof. */ #undef SIZEOF_STRUCT___RES_STATE /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 in order to use res_nquery(3) API */ #undef USE_RES_NQUERY /* Define to empty if `const' does not conform to ANSI C. */ #undef const resolv-0.1.1.1/testdata/0000755000000000000000000000000013174460247013171 5ustar0000000000000000resolv-0.1.1.1/testdata/msg/0000755000000000000000000000000013174460247013757 5ustar0000000000000000resolv-0.1.1.1/testdata/msg/01ca022e21220474ca6100f21d137b42.bin0000644000000000000000000000020713174460247020446 0ustar0000000000000000Åñ€hackagehaskellorgÀ ¹j global-sslfastlynetÀ>1ns1À> hostmasterfastlycomx+fÝX :€resolv-0.1.1.1/testdata/msg/03edcc6e3a8f04350e45b3c718df1cb5.bin0000644000000000000000000000020713174460247021155 0ustar0000000000000000­£€hackagehaskellorgÀ +j global-sslfastlynetÀ>1ns1À> hostmasterfastlycomx+fÝX :€resolv-0.1.1.1/testdata/msg/0d629a3dca9212d2279cbe2ecc2d55f6.bin0000644000000000000000000000020713174460247021161 0ustar0000000000000000 p€hackagehaskellorgÀ +j global-sslfastlynetÀ>1ns1À> hostmasterfastlycomx+fÝX :€resolv-0.1.1.1/testdata/msg/1c69194e8338f7fa7e1a2a773f8a930b.bin0000644000000000000000000000021213174460247020762 0ustar0000000000000000ëû€hackagehaskellorgÀ ¹j global-sslfastlynetÀ1—eDÀ1—e@DÀ1—e€DÀ1—eÀDresolv-0.1.1.1/testdata/msg/3c973651b87bbb27d9249ef41ebd5c5e.bin0000644000000000000000000000015713174460247021131 0ustar0000000000000000šÏ€ microsoftcomÀ !`45À !dz¯À !h+ÃûÀ !h(Ó#À !¿ïÕÅresolv-0.1.1.1/testdata/msg/4e49a68a7cbd8f6c69eab194c49b9888.bin0000644000000000000000000000012613174460247021154 0ustar0000000000000000S:€ microsoftcomÀ  c+ns1msftnetmsnhstÀ x9ÀO X$êresolv-0.1.1.1/testdata/msg/579ff887c8ea54e4173934be5e85faec.bin0000644000000000000000000000102313174460247021147 0ustar0000000000000000ƒ5€ microsoftcomÀ ôø÷v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com ip4:147.243.128.24 ip4:147.243.128.26 ip4:147.243.1.153 ip4:147.243.1.47 ip4:147.243.1.48 -allÀ ôEDgoogle-site-verification=6P08Ow5E-8Q0m6vQ7FMAqAYIDprkVV8fUf_7hZ4Qvc8À ôYXFbUF6DbkE+Aw1/wi9xgDi8KVrIIZus5v8L6tbIQZkGrQ/rVQKJi8CjQbBtWtE64ey4NJJwj5J65PIggVYNabdQ==À ô.-docusign=d5a3737c-c23c-4bd0-9095-d2ff621f2840resolv-0.1.1.1/testdata/msg/616d307f2f3407a001c0ed31ae01daf8.bin0000644000000000000000000000020713174460247020772 0ustar0000000000000000 “€hackagehaskellorgÀ +j global-sslfastlynetÀ>1ns1À> hostmasterfastlycomx+fÝX :€resolv-0.1.1.1/testdata/msg/62a40ed1d8ac22ee6dcca1d8cc6e1733.bin0000644000000000000000000000036613174460247021317 0ustar0000000000000000i €www microsoftcomÀ  #www microsoftcom-c-2edgekeynetÀ/A 7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^e1863dspb akamaiedgeÀMÀ§ç1n0dspbÀ¬ hostmasterakamaiÀYÿEèèèresolv-0.1.1.1/testdata/msg/62ce31cf45d2d095d384da330a6e6189.bin0000644000000000000000000000011213174460247020742 0ustar0000000000000000}õ€hackagehaskellorgÿÀ +j global-sslfastlynetresolv-0.1.1.1/testdata/msg/68c43b7f9e85fb0b77552dc905fe6537.bin0000644000000000000000000000023713174460247021005 0ustar0000000000000000'X€_mirrorshackagehaskellorgÀ +e(0.urlbase=http://hackage.fpcomplete.com/;1.urlbase=http://objects-us-west-1.dream.io/hackage-mirror/resolv-0.1.1.1/testdata/msg/75330cfe5b4c19161dee2d9f578d8fb4.bin0000644000000000000000000000012213174460247021122 0ustar0000000000000000¨…€www microsoftcomÀ  –#www microsoftcom-c-2edgekeynetresolv-0.1.1.1/testdata/msg/7f4d4de8e74e86e10d19f1f7428609e4.bin0000644000000000000000000000012213174460247020776 0ustar0000000000000000ÿá€www microsoftcomÿÀ &#www microsoftcom-c-2edgekeynetresolv-0.1.1.1/testdata/msg/87f230df7637c81814cf08770c3eed69.bin0000644000000000000000000000036113174460247020716 0ustar00000000000000009€www microsoftcomÀ  L#www microsoftcom-c-2edgekeynetÀ/"F7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^ƒe1863dspb akamaiedgeÀMÀ¡*&ðÜ›GÀ¡*&ðÜœGresolv-0.1.1.1/testdata/msg/8e08e117a1d187bac5d498ffc2797f3a.bin0000644000000000000000000000011213174460247021121 0ustar0000000000000000AÎ…€hackagehaskellorgÀ ¹j global-sslfastlynetresolv-0.1.1.1/testdata/msg/9499a890bd65e85e74e68ca5631941f7.bin0000644000000000000000000000043513174460247020657 0ustar0000000000000000¾‹€ _xmpp-server_tcpgmailcomÿÀ !ƒ%•alt3 xmpp-serverlgooglecomÀ !ƒ%•alt1 xmpp-serverlgooglecomÀ !ƒ • xmpp-serverlgooglecomÀ !ƒ%•alt2 xmpp-serverlgooglecomÀ !ƒ%•alt4 xmpp-serverlgooglecomresolv-0.1.1.1/testdata/msg/9900d2675e8ba6d2b86de5ccb29ad914.bin0000644000000000000000000000012213174460247021115 0ustar0000000000000000N‰€4488in-addrarpaÿÀ Q google-public-dns-bgooglecomresolv-0.1.1.1/testdata/msg/9ebe8abd73d2cb61ac54d631a0305b61.bin0000644000000000000000000000020713174460247021144 0ustar0000000000000000µ€hackagehaskellorg À +j global-sslfastlynetÀ>1ns1À> hostmasterfastlycomx+fÝX :€resolv-0.1.1.1/testdata/msg/b0beddd4cdcdc372a58192f3ae7264e2.bin0000644000000000000000000000142413174460247021322 0ustar0000000000000000€ microsoftcomÿÀ _dz¯À _`45À _¿ïÕÅÀ _h(Ó#À _h+ÃûÀ KÏns1msftnetÀ KÏns2ÀÀ KÏns3ÀÀ KÏns4ÀÀ _À{msnhstÀ x9ÀO X$êÀ _* microsoft-commail protectionoutlookÀÀ _EDgoogle-site-verification=6P08Ow5E-8Q0m6vQ7FMAqAYIDprkVV8fUf_7hZ4Qvc8À _ø÷v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com ip4:147.243.128.24 ip4:147.243.128.26 ip4:147.243.1.153 ip4:147.243.1.47 ip4:147.243.1.48 -allÀ _YXFbUF6DbkE+Aw1/wi9xgDi8KVrIIZus5v8L6tbIQZkGrQ/rVQKJi8CjQbBtWtE64ey4NJJwj5J65PIggVYNabdQ==À _.-docusign=d5a3737c-c23c-4bd0-9095-d2ff621f2840resolv-0.1.1.1/testdata/msg/b127444bb25b3d2947e972d3ba0c26dd.bin0000644000000000000000000000015013174460247021012 0ustar0000000000000000ë¿€_mirrorshackagehaskellorgÿÀ Ì. ANY obsoletedSee draft-ietf-dnsop-refuse-anyresolv-0.1.1.1/testdata/msg/b28818a1324f6e327b4c31668e0e6d9d.bin0000644000000000000000000000012513174460247020675 0ustar0000000000000000g­€ microsoftcomÀ M* microsoft-commail protectionoutlookÀresolv-0.1.1.1/testdata/msg/b90b636aee4f847240da4e2606eb64af.bin0000644000000000000000000000015113174460247021103 0ustar0000000000000000"x€www?thelongestdomainnameintheworldandthensomeandthensomemoreandmorecomÀ ‹¾^~*2resolv-0.1.1.1/testdata/msg/bc73346b31d530d2fd1c40100e0abdb3.bin0000644000000000000000000000036613174460247021045 0ustar0000000000000000Á;€www microsoftcom À  0#www microsoftcom-c-2edgekeynetÀ/DÅ7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^e1863dspb akamaiedgeÀMÀ§u1n0dspbÀ¬ hostmasterakamaiÀYþÓèèèresolv-0.1.1.1/testdata/msg/bd9f84e89a040ca3c405c8b0c61e7b95.bin0000644000000000000000000000016713174460247021116 0ustar0000000000000000”ö€cffc7fe006b75a404010528710841002ip6arpaÿÀ ƒghchaskellorgresolv-0.1.1.1/testdata/msg/c1643eda6cc3d3ed3cee45c25027e5f4.bin0000644000000000000000000000031113174460247021235 0ustar0000000000000000G*€www microsoftcomÀ  –#www microsoftcom-c-2edgekeynetÀ/M7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^ze1863dspb akamaiedgeÀMÀ¡ \z´Presolv-0.1.1.1/testdata/msg/c2b9983a237cc1d0085a7579dd54f189.bin0000644000000000000000000000007413174460247020710 0ustar0000000000000000w–€wwwgooglecomÀ º*P@ resolv-0.1.1.1/testdata/msg/c4d6938b423324728dbb2fe9f20ed40b.bin0000644000000000000000000000011413174460247021023 0ustar0000000000000000tü€wwwgooglecomÿÀ ºØ:ÉäÀ º*P@ resolv-0.1.1.1/testdata/msg/cca51237517026de4f29d847e41a69a8.bin0000644000000000000000000000036613174460247020703 0ustar0000000000000000øú€www microsoftcomÀ ‡#www microsoftcom-c-2edgekeynetÀ/07www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^e1863dspb akamaiedgeÀMÀ§‡1n0dspbÀ¬ hostmasterakamaiÀYýåèèèresolv-0.1.1.1/testdata/msg/d02efcfc9b759b69a7fc1b91b2e20743.bin0000644000000000000000000000006013174460247021171 0ustar0000000000000000µ€wwwgooglecomÀ OØ:Éäresolv-0.1.1.1/testdata/msg/e0601e91a2bc402e1b6a804b1c70a5f5.bin0000644000000000000000000000015113174460247020767 0ustar0000000000000000jD€www?thelongestdomainnameintheworldandthensomeandthensomemoreandmorecomÿÀ ŒŸ^~*2resolv-0.1.1.1/testdata/msg/f07dc1a95f1663525bf32957288adb78.bin0000644000000000000000000000036613174460247020715 0ustar0000000000000000Ûv€www microsoftcomÀ  #www microsoftcom-c-2edgekeynetÀ/N¡7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^e1863dspb akamaiedgeÀMÀ§71n0dspbÀ¬ hostmasterakamaiÀYþ•èèèresolv-0.1.1.1/testdata/msg/f3110fafd49cc625b0cc29e99d82ec79.bin0000644000000000000000000000016713174460247021210 0ustar0000000000000000ô•€cffc7fe006b75a404010528710841002ip6arpa À ghchaskellorgresolv-0.1.1.1/testdata/msg/fc9b623aa6ba4673b84145ab0899a3bd.bin0000644000000000000000000000012213174460247021100 0ustar0000000000000000=j€4488in-addrarpa À Q google-public-dns-bgooglecomresolv-0.1.1.1/testdata/msg/033cb8330c8fba5fbb8bd48fd60fd6c3.bin0000644000000000000000000000016313174460247021324 0ustar0000000000000000^â€_mirrorshackagehaskellorgÿÀ 5. ANY obsoletedSee draft-ietf-dnsop-refuse-any)resolv-0.1.1.1/testdata/msg/04e610d95902b1898ee6abce328905dd.bin0000644000000000000000000000022213174460247020753 0ustar0000000000000000Ä&€hackagehaskellorgÀ “j global-sslfastlynetÀ>1ns1À> hostmasterfastlycomx+fÝX :€)resolv-0.1.1.1/testdata/msg/0e0f94e6e23136bfdc62cc55340e8be9.bin0000644000000000000000000000040113174460247021105 0ustar00000000000000002™€www microsoftcomÀ º#www microsoftcom-c-2edgekeynetÀ/ ~7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^ƒe1863dspb akamaiedgeÀMÀ§*1n0dspbÀ¬ hostmasterakamaiÀYýèèè)resolv-0.1.1.1/testdata/msg/0e7ff621f4401fb81117418a1c52d921.bin0000644000000000000000000000037413174460247020577 0ustar0000000000000000«€www microsoftcomÀ  M#www microsoftcom-c-2edgekeynetÀ/As7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^ƒe1863dspb akamaiedgeÀMÀ¡*&ðÜ›GÀ¡*&ðÜœG)resolv-0.1.1.1/testdata/msg/143084810512c54d03d9aff95385f4fb.bin0000644000000000000000000000010713174460247020610 0ustar0000000000000000-Ô€wwwgooglecomÀ "*P@ )resolv-0.1.1.1/testdata/msg/1ab117bdea807e80ea976495b3735ee2.bin0000644000000000000000000000022213174460247021027 0ustar0000000000000000Ý/€hackagehaskellorgÀ *j global-sslfastlynetÀ>1ns1À> hostmasterfastlycomx+fÝX :€)resolv-0.1.1.1/testdata/msg/1cb238d49c78d7f6ddde8283c3aba3e2.bin0000644000000000000000000000020213174460247021251 0ustar0000000000000000® €cffc7fe006b75a404010528710841002ip6arpa À zghchaskellorg)resolv-0.1.1.1/testdata/msg/2c830af4026deb9597f60b55d17df3b1.bin0000644000000000000000000000143713174460247021035 0ustar0000000000000000Û´€ microsoftcomÿÀ  Þh+ÃûÀ  Þdz¯À  Þ`45À  Þ¿ïÕÅÀ  Þh(Ó#À QNns3msftnetÀ QNns4ÀÀ QNns1ÀÀ QNns2ÀÀ  ÞÀ§msnhstÀ x9ÀO X$êÀ  Þ* microsoft-commail protectionoutlookÀÀ  Þ.-docusign=d5a3737c-c23c-4bd0-9095-d2ff621f2840À  ÞEDgoogle-site-verification=6P08Ow5E-8Q0m6vQ7FMAqAYIDprkVV8fUf_7hZ4Qvc8À  Þø÷v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com ip4:147.243.128.24 ip4:147.243.128.26 ip4:147.243.1.153 ip4:147.243.1.47 ip4:147.243.1.48 -allÀ  ÞYXFbUF6DbkE+Aw1/wi9xgDi8KVrIIZus5v8L6tbIQZkGrQ/rVQKJi8CjQbBtWtE64ey4NJJwj5J65PIggVYNabdQ==)resolv-0.1.1.1/testdata/msg/419ae4b8b8770bad65e3bdf3cbc84ad3.bin0000644000000000000000000000040113174460247021322 0ustar0000000000000000ìÝ€www microsoftcomÀ  ü#www microsoftcom-c-2edgekeynetÀ/ ˜7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^ye1863dspb akamaiedgeÀMÀ§Ý1n0dspbÀ¬ hostmasterakamaiÀYþÓèèè)resolv-0.1.1.1/testdata/msg/47b446859b6bd9bf4d1e7348a356a43c.bin0000644000000000000000000000013513174460247020765 0ustar0000000000000000™€€www microsoftcomÿÀ  d#www microsoftcom-c-2edgekeynet)resolv-0.1.1.1/testdata/msg/53d71a9e72adf19251123b46f31769bb.bin0000644000000000000000000000020213174460247020661 0ustar0000000000000000”ÿ€cffc7fe006b75a404010528710841002ip6arpaÿÀ ƒghchaskellorg)resolv-0.1.1.1/testdata/msg/54f81230e47e2399d16a309e1227025e.bin0000644000000000000000000000013513174460247020445 0ustar0000000000000000Ñ …€www microsoftcomÀ  #www microsoftcom-c-2edgekeynet)resolv-0.1.1.1/testdata/msg/57394dfc69f9e32c0c0cd9d4d2057d87.bin0000644000000000000000000000014013174460247021047 0ustar0000000000000000²¡€ microsoftcomÀ  Ö* microsoft-commail protectionoutlookÀ)resolv-0.1.1.1/testdata/msg/593b5d26fc010f953c99621a7d608c8d.bin0000644000000000000000000000040113174460247020677 0ustar0000000000000000N€www microsoftcom À  †#www microsoftcom-c-2edgekeynetÀ/N#7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^ƒe1863dspb akamaiedgeÀMÀ§ç1n0dspbÀ¬ hostmasterakamaiÀYÿÝèèè)resolv-0.1.1.1/testdata/msg/5fb7059d3cc96ae5eb05b06b7212bf76.bin0000644000000000000000000000012713174460247021110 0ustar0000000000000000û¼€wwwgooglecomÿÀ +Ø:ÉäÀ +*P@ )resolv-0.1.1.1/testdata/msg/60c1e26a578cd3007a592250dbad30be.bin0000644000000000000000000000022513174460247021001 0ustar0000000000000000ðÕ€hackagehaskellorgÀ ”j global-sslfastlynetÀ1—eDÀ1—e@DÀ1—e€DÀ1—eÀD)resolv-0.1.1.1/testdata/msg/6b49a8a930ab6cdaf5ae91c822247811.bin0000644000000000000000000000040113174460247021020 0ustar0000000000000000Z©€www microsoftcomÀ  M#www microsoftcom-c-2edgekeynetÀ/As7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^ƒe1863dspb akamaiedgeÀMÀ§N1n0dspbÀ¬ hostmasterakamaiÀYþDèèè)resolv-0.1.1.1/testdata/msg/6f5b2b7d7ffa62ab3b6bce45ab3b0b51.bin0000644000000000000000000000103613174460247021367 0ustar0000000000000000 ~€ microsoftcomÀ EDgoogle-site-verification=6P08Ow5E-8Q0m6vQ7FMAqAYIDprkVV8fUf_7hZ4Qvc8À ø÷v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com ip4:147.243.128.24 ip4:147.243.128.26 ip4:147.243.1.153 ip4:147.243.1.47 ip4:147.243.1.48 -allÀ .-docusign=d5a3737c-c23c-4bd0-9095-d2ff621f2840À YXFbUF6DbkE+Aw1/wi9xgDi8KVrIIZus5v8L6tbIQZkGrQ/rVQKJi8CjQbBtWtE64ey4NJJwj5J65PIggVYNabdQ==)resolv-0.1.1.1/testdata/msg/7a13aa49d0b498ee7b5073d1f1370273.bin0000644000000000000000000000045013174460247020661 0ustar0000000000000000Èè€ _xmpp-server_tcpgmailcomÿÀ !ƒ%•alt3 xmpp-serverlgooglecomÀ !ƒ%•alt4 xmpp-serverlgooglecomÀ !ƒ • xmpp-serverlgooglecomÀ !ƒ%•alt2 xmpp-serverlgooglecomÀ !ƒ%•alt1 xmpp-serverlgooglecom)resolv-0.1.1.1/testdata/msg/7c47e44ab3c0e8d6f3d5f4246dc4a0d2.bin0000644000000000000000000000013513174460247021163 0ustar0000000000000000aŒ€4488in-addrarpaÿÀ Q google-public-dns-bgooglecom)resolv-0.1.1.1/testdata/msg/816c6c332941a20f07c497ee16609971.bin0000644000000000000000000000017213174460247020461 0ustar0000000000000000*€ microsoftcomÀ ‰h(Ó#À ‰¿ïÕÅÀ ‰`45À ‰dz¯À ‰h+Ãû)resolv-0.1.1.1/testdata/msg/81c9cbfb364a8be0302bd0f4f600c3f6.bin0000644000000000000000000000013513174460247021151 0ustar0000000000000000y(€4488in-addrarpa À Pu google-public-dns-bgooglecom)resolv-0.1.1.1/testdata/msg/9a69b7245b1a5557205da19e1cba2d10.bin0000644000000000000000000000025213174460247020727 0ustar0000000000000000ˆ)€_mirrorshackagehaskellorgÀ +e(0.urlbase=http://hackage.fpcomplete.com/;1.urlbase=http://objects-us-west-1.dream.io/hackage-mirror/)resolv-0.1.1.1/testdata/msg/a48ae1f9104e3732d4c5bd183c2a9ae1.bin0000644000000000000000000000012513174460247021072 0ustar0000000000000000;°€hackagehaskellorgÿÀ “j global-sslfastlynet)resolv-0.1.1.1/testdata/msg/b64d9926db52e425c8747c143b9266c1.bin0000644000000000000000000000012513174460247020622 0ustar0000000000000000î…€hackagehaskellorgÀ ”j global-sslfastlynet)resolv-0.1.1.1/testdata/msg/b6d7e514db902da80c8a8e124673139b.bin0000644000000000000000000000016413174460247020750 0ustar0000000000000000Ý»€www?thelongestdomainnameintheworldandthensomeandthensomemoreandmorecomÀ ‹&^~*2)resolv-0.1.1.1/testdata/msg/c19a30769d1fac0f4bc2e4e20681ef4e.bin0000644000000000000000000000007313174460247021162 0ustar0000000000000000a€wwwgooglecomÀ Ø:Éä)resolv-0.1.1.1/testdata/msg/c726878c52655dd4e53fc156b4dc987a.bin0000644000000000000000000000022213174460247020773 0ustar0000000000000000¬$€hackagehaskellorgÀ +j global-sslfastlynetÀ>1ns1À> hostmasterfastlycomx+fÝX :€)resolv-0.1.1.1/testdata/msg/cd7ba0bcefc41dfe8a1604b2077ea9b0.bin0000644000000000000000000000014113174460247021363 0ustar0000000000000000ûl€ microsoftcomÀ +ns1msftnetmsnhstÀ x9ÀO X$ê)resolv-0.1.1.1/testdata/msg/cfad64f232eed78eaadec838de6aebb4.bin0000644000000000000000000000022213174460247021631 0ustar0000000000000000J¾€hackagehaskellorg À +j global-sslfastlynetÀ>1ns1À> hostmasterfastlycomx+fÝX :€)resolv-0.1.1.1/testdata/msg/dbda67dddc54eb72cbd0acc79d5fe5ea.bin0000644000000000000000000000010513174460247021703 0ustar0000000000000000|€hackagehaskellorgÀ + mailÀ)resolv-0.1.1.1/testdata/msg/e1c7fb3f7f7c83068bb866ab2fc6af52.bin0000644000000000000000000000016413174460247021264 0ustar0000000000000000º€www?thelongestdomainnameintheworldandthensomeandthensomemoreandmorecomÿÀ ‹¢^~*2)resolv-0.1.1.1/testdata/msg/e9036c06fc30e6d7582fe9e5238cb718.bin0000644000000000000000000000032413174460247020770 0ustar0000000000000000˲€www microsoftcomÀ  #www microsoftcom-c-2edgekeynetÀ/7www microsoftcom-c-2edgekeynet globalredirakadnsÀMÀ^{e1863dspb akamaiedgeÀMÀ¡ \z´P)resolv-0.1.1.1/testdata/msg/db1fec5b193264b8084ed82f477288e9.bin0000644000000000000000000000474213174460247021005 0ustar0000000000000000`¼€nasagovÿÀ W ns1À dnsÀ øûa „u,À .WœXY6™EYþ5…Anasagov(:`<ì6FfëÙY7†âŸbìí&†¬ 1Øpßw•”Šçoë«3áaÿóÀ;‹P ddÊZçäpÈfƒ×n£[Ù-µ¥Šë—.(@b¿ÔñýˆæÊJU“qªñaiNø±À(a鱺pñ†3ò?¡ktWD¾€YDšxF+£]À WÀ&À Wns3À À Wns2À À .WœXY6™8Yþ0…Anasagov§’Zq”ÿJõ»¾öŽ@cãˆrº\âksúŠ…Ã?ë æ»dæÕc“ÞöUÍÕ’²p,¾Ax‹%WÂ^_UPè5Uƾ‡!ð'Öxp1èM:ûÚi=ù/¶ÅΟƒ%#µÝ»_ÍièzÕÁÛ;|}2¾Acz‚<^‚U`“dž%À W4tÀ .WœXY6™8Yþ0…Anasagov¯b÷}©G 6ÖÍK."¿ÎˮԚ¸Á¶.×l…)m?ª·7Ùv4¢UšP8S@Ù¹®ÕÄžº¦±iÖ¯zqô»hu[ÇgÒr«àáRÝö+²^¦í1®÷ð/ t±üiÓ­+°:ÙFG¶V¼çk1Ꙃb¦ÖÆc dAl¸À W ndjsvnpf102ndcÀ À W ndmsvnpf101šÀ W ndjsvnpf103šÀ W ndmsvnpf103šÀ W ndjsvnpf101šÀ W ndjsvnpf104šÀ W ndmsvnpf102šÀ W ndmsvnpf104šÀ .WœXY6™8Yþ0…AnasagovR¼¬³O…UiQŽÐ£O5‹,0cNYSÁôüÐ Ýt¨î±ôãhgLÐP&¢-¼Ë­ <”B¯\œKÞÄtÆøoÈÖÇ5ÔÙd`íÀã_Îcƒ¾¨ÚÑRtÍ.Ò.«{qÑ[9›‹Þ5xxˆ±Ý¼¿·¡À WÌËv=spf1 mx include:_spf-ip4a.nasa.gov include:_spf-ip4b.nasa.gov include:_spf-ip4c.nasa.gov include:_spf-ip4g.nasa.gov include:_spf-ip4m.nasa.gov include:_spf-ip4x.nasa.gov include:_spf-ip6a.nasa.gov -allÀ .WœXY6™8Yþ0…AnasagovPGÉdÊ|pÁë®%QÌöݨÿp]<ÁmPõË;6ÇMÞÙæö\ ”qq2TA8ž÷ñ^f‡Tï_C˜ï‘ùP¶õŠ"R@¶¡Âqš\åG„|wú>„Õ%êÏÛ TsN‡²56qØÀ>,ÅÂKÆåe„çè(À /+ 3D-Printingnasagovb€€À .+œ/,Y6“ÏYþ5…AnasagovGÇ@ ~¤ž›Öa‚† ¸Cú“œzÅq¥ù›ú>%%3„%[ ³‰vh‡Í][»µ@¾¨²qWüõåF±Wt¼ªg…ÓA욟VoAÈ^¶+9ªtRÜ5ì˜emÞ¡YŸ7cÓy¢Räy€,dzœ#jR¨&Ö^¦“ãߪ‡ƒbœâÀ 0Wˆ¼6ýð‹Mš>WŸ._q=Ηע"¶MÚÚ j«¼A¬ÅªÕk«îÎa«‘¹ZHëÔ‘7SN…œ]6RØìg€ÞŸGÍz"A°]Ø35hBÝ»øQd’tÝ—¨gŸœx›Ú”8DC8߈:3Ê=âÆ=)b©¬R€¯VØèÀèçËÀ 0WÁ‘é¶"Rég2³¿«¡hŸ*÷©q/Ž&MÊVàÝ…²U߯žt9Ü€P=Ñ,…‚ŸsãˆeêÈŒHç°“ücF—®¬vŒ8U‹‰yä4ˆ®ÿFÍ9»a¾Qê¶mÑy[:k–¡>†ƒõ§Ç†âôÞÖGÞD&Ãr¼®ÃDÙAì ÈqzAwtÒ´ |/,§"Á‰¼š¹¥^]l_Qq¦ò PšÐZm\å@åšFåT@þ8܆tíœÜ|cïð\']¹L¾Î…‚Тܜ´˜y~ÏA­ë+8#좡" ¨±´ÉŠ v…À .Wœ0XY6™@Yþ0…AnasagovR¦/Wýe™ŽÉmªöÍg%æ\I-†ûTªäšÝP1ßêõ«ó¾:á…Ú4÷ÃU´J“Œx›OúVK›ÍÉ3‰1=´™ªAåf6_P&‘Êzs¿'î_füðæ¥É%%{_oùfkäsêåßê )V˜ =3”Ù~À+Kó£— ‰—b_ÚœÑ$¡ãçØë×ë rÇߟß:èÉ¿H ®—™¢UKýx÷Ã'ðIxóƒ_ws¼Eó`üªòlÊzÂI}U\Ͳ¦ˆJí}ùi®‡©øLgÀ 0T_¨ÑZgKɹ®–š}áß ô´ï—ç–­Ù#i(½¦À"¯JÞ€ãûUÙë@t;@T´¸Ä˜ bÙçõ=X}{äaŠ@9‰ª·¸^ÞSh?ì‚—weÖ:yÃì%þ‹ÂbÝ!¡}„!¾X]ÙSäï:*pÊä)÷©$ 5þNaÀƒ‡ÅòhdÁ—`¢ëü³$ï¸H¢^œøZ¢ÂöX ª• @¸ZƒÇï>¦¦3yë2íÐm)þ¶(Œ3zWs‰Ù™Ujcù¢'ŠO $æ³2³ÝuŒ ,GÑ(ú8‰^0Ò®àšb09¼HwÖm­@#âðàºñÿ(°#°l çgBqàlXv… Ì›‚SÔm ÕuÄÈZëR}ôØ3l~^ˆ½®+í.@úÍÊî-¸ÎÞ5vº:¥%+Ït½È Œ¬G´·6Èmc7M^ßGIª‰ü‡ÍZ¿©88PØ‚Jä »@üͱÂZ¾¥Úžc°‡:Æ)€resolv-0.1.1.1/testdata/msg/a2878248b0e2a6d30b50bc67d11b5a21.bin0000644000000000000000000000277013174460247020727 0ustar0000000000000000ŸR€comÿÀ ƒ=a gtld-serversnetnstld verisign-grsÀ YPi„ :€Q€À .ƒ—„YŠéY@j¦comyÇJ)iLV y’YÊzù6+ïП²ÂV.u½Ü‰9Xœ½ÚívÁ=©nJ+3…ð—TÈû'’ÑDøq­ØIê´4*gJçªFVÔº)œÛÐ¥>;ùV¡Uí¹ÀüЧý%Ñ´ð®n+ï€'CqB¶y¯««À:UØ%cã Kw×À ¢ÿfÀ#À ¢ÿcÀ#À ¢ÿgÀ#À ¢ÿiÀ#À ¢ÿlÀ#À ¢ÿmÀ#À ¢ÿeÀ#À ¢ÿhÀ#À ¢ÿÀ!À ¢ÿbÀ#À ¢ÿjÀ#À ¢ÿkÀ#À ¢ÿdÀ#À .¢ÿ—£YòY E j¦comP¦Êaz»›¯ãwÃÊHq2£äaUçËŸÄA’!¬vnÁ;nªF¹ÿª©=ëµ%Ç"óþŸÍŒž5{p1çvb vÑ˳„(vŒ“Þ"µNXBÊösò ~£ \³À 0Q†«Í/낡½eåjŒ…~-顸Ý?µÈ ;m­#™Ä0ÀRÆ]n±TtÖà_¸Vך‘Ñîeô1€‡¸[ô þ¬8á'Ž}®¡$æÙâ•RG&‚@1';Å/åwÿZ= ÍÏ {‹w¯ÖTí–J‡å焘‚é«À 0QÃÎWM˜ËÙ~ pÒt¸IÊíšÿÅÜÌGIie\5˳õ.jõ6‹>zŒ]Ux"Â#™ÌîC6™r£B8-ù¹bÂãßùY}'¦ò ‡9áU•Ô¬<Á}ÍE_‘ƒžýäÄ8î´4…cêêtlÜé1Šs ̨ï‡ÞË‹Øg äô³ÐÇ÷_óä°kÒ.„ð‹°^M¿~wªO÷û‰HuÌgº»{d¦l¼œŠSŒ[®ƒæpÖçC!P©h0ÆÃW³èóZX?öKh;gA¸®Ãxou‰Íï|ÕþÀø#`m÷=Û/!áÙ)ÃóE/€ä¢L²cR}äI·rË–?½)€resolv-0.1.1.1/testdata/msg/b473fc47ff9ce44a72ef479cbb6fa861.bin0000644000000000000000000000067713174460247021307 0ustar0000000000000000zi€googlecomÿÀ +¬ÙÎÀ +¬ÙÎÀ +¬ÙÎÀ +*P@ À W2alt4aspmxlÀ À W À{À ;&ns4À dns-adminÀ B2„„<À QÀ¡À W (alt3À{À W alt1À{À W alt2À{À Qns3À À Qns2À À Qissuepki.googÀ Qissuesymantec.comÀ $#v=spf1 include:_spf.google.com ~allÀ Qns1À )€resolv-0.1.1.1/testdata/msg/e1e5964dfd4b0f30eaafeee827062024.bin0000644000000000000000000000537313174460247021173 0ustar0000000000000000zi€examplecomÿÀ -snsdnsicannorgnocÀ-x9¡ uÀ .¢/Yþ»Xÿ¤RÞexamplecom]Mv ݳ8ÛO±¥Ô´ì/ˆ ¨ç°œ,öYVŒýêÒš-ßcÙ>¤UÝ\²RM8Ù’õD¡r¶Œ[6÷¤,qXÊ÷X­ÁxÞÒ!9i6n À Ä@u±fi&4Ñb=áÄø ß Túƒþ·þÝÊŒ|†«ü,áêÇ÷•/½˜Ö×Úºð2[P˜Ð´À /wwwexamplecomb€€À .Q¢Q€Yû‚Xÿ¤RÞexamplecomßiM o ‹À`ÿY.¦VO²D¡|8Bü*¤5 \ZV?U؇ øM#ޤÙXéŸ_n(w~‘R²¦åJ(ŸÑ¸|ûÜîíSO‹Ñ“Ü0Xv¥ÉH û2‡šJÂÇ' „bbó”E¨ž¬äñ®©Éïáó6ÿ](™¡À Qa iana-serversnetÀ QbÁæÀ .Q¢Q€Y¿üXÿ¤RÞexamplecomà0éw &>¶Ž§ÜÏt󕀿u'Péj¤øU1¶’ë&-l£,¿n™ø Hå†Ñeh£„©÷ê°ï»Ðw(Üò5DpoDϧ ©Dd˜³âxGÙm±Ä¶×HÿÝ ³â«§®›XX#q]¤*mïãÍ »ŒÕšúEaýzÀ Q&( H“%ÈFÀ .Q¢Q€Y~TXÿ¤RÞexamplecom“HøtŒ@£‚ÈÙᾌ„ ÅÅC¤yßäÃÉ™L$³±EE<`u¼F9Ç[¥«±wÀ¼lŸåi©þ4Q.ּĦ¿AVÿè7,áV5ÿºVöÆŸ4¤pó¨+?rzêl,BÐàCŽÝµqwš¤/&]>¼ß9Žh-3ªç·Kr¤aÍäÀ Q]¸Ø"À .;¢d–è=™¿1Æ‹ÛçÓ•t;“[GÓC¾E±,aŒÁ¦1øÈ#\‚çqF±æŒó¤D¢É¥b~|mòÎjÅïú¨û~kTÃTbl3ˆo¢¤¬ž!€e×y)¸¢zWÇVöx éÏS*sðË6®|[mzùH>é„ [“”QŽÐc.“t…åŒ wTG³4|&£KP¶²®:b':Œo §.S@g»?Ñ„`QfÇĔ Xé¦À .0Y"sY¹†²4examplecomNp\©‹³ á÷FÏÇMÅÚsŒBÂÇÚ*-¬õÃd7aìQál 2E|ò ~J qê¯X%+Äy½4Úvl—˜Ôe߆‡‘¦âÉÕHÝVþرòs”?À[˜¨ð‚|š~bàwlgì•z–a\(Ïú8šgÈ-g`mæ$Jnë˜KÞ^Sfˆ‚øª³Yó˜1y\*] ; à~–Ö‚Ež¶º ¿jƒ=ô¡/[êyaòøsÜáKËnM ñüvÕ݇…™,H8ZŠA¼²`ˆLõÐõ‘Òc šŸô’"E†¢®Àú‡$KT.ù}ÔR׌֙1r÷B¡À 0³…~.KtPÈ%f,Ê-@ÅK¼ÎXú䦵pc+‡_c2¿Š˜ÖÞXM`ŽëÆòžŠé6ï_¨Ñ@-~ÛV_ƒ&ÀÒý„_y¨QôWîK oµö¶ýZÞIW4º¤NÌÈCƒÄ1P£¶¼¥×Ð^÷óäà½!8à1,Bßײ1‰Ú—ç÷mLJ“‡êíË„SG[F›žàÍê3îquŽÂ#‘2a‚ Ëê=ò)úÔzbš£Þ?•W Ãßä|¼sÙ+ÓO®¨,Â2Û1ž)Ê!Ö> ùAó2 "úÄ3êYbçøG¦‹ØiˆÅ•½.}ÙAV"–¼ze©Xø“W*¢BÔ'æäQ€Ú¢üé.L[obÜÚ{qÈ®Ûøz¾Øãœ`K|\!vbuÕW7 |®ZK‹F²Î5À 0‹©Ò€a´”´ÒWÖ,Æ×¡›ž÷ŒÆlßȵ»súäÍZ­tûöêaþSVÄHDLK'KHÝ|°ß²+Ûí÷h³Y¯y«)„ËNÝ 4㾌‰ ãªgŽ¡tw÷bæb©îÓÚ¿¡‘·Ä†lYñ–†ƒcðŒó¬)ÓH áàÙîŽéÀ 0ªík'ª+')ëEói>f²%šÇÒÛôeõT,Áò^›uTJƒT UÄEãÐN‚3 ÏX!Ç -z.e¢ +{P”1UÐþ…æùÎ*–¡¦ÉL ¦ä½}¼Ì,Qç`¼¡w“OÒј%-ô¥-ýc¢è2„ ýµ“ÊJ×È|zPþI8ÜàŽU«V[GÆ xþ¸A ô[™×åºv" ¶íá6S‰² "Óñ®Ò°y¸q¸>CšõҳܴÐͦYþ%È÷žîø¹}ì6u¶²y¢xgzñï£F^cwÆ9f ×]`¤Õ”•®Y–Ûi„3Ýæ-ÚçƒãÀ .¢Y"­LYñ•examplecomtÑwzíx—!—ÿב½léuxt &Ú‰ÍDU¦ð7x8ö)°>ŠO»j×”úŽÕh tCRÐ|zV&§ó‚Yé' k¸ÑFZHà]ŠëµýÛ<+=šjo2ÕdíÎÏAY—‚ D;‰_ðvW”iÄ/ sÝSlñY7y(Z9Ñ)€resolv-0.1.1.1/testdata/msg/7e3570aada9975cbb2285ed217fe5016.bin0000644000000000000000000000070713174460247021036 0ustar0000000000000000zi€examplecom+À +ûÆ{e4¦€mGñz4ž,芙Ÿûä¾À +ûÆ${eÍà×B֙ХT©-‰„ƘϬŠ&úY‡Z™ åv4<À +ûƪ¶"Z²Ìa> Êyb½Â4.¤ñµ`ƒÀ +ûÆ$ªaZd#5CöoDÖ‰3b[I|‰§…Ž×j!E™~ß–©À +ûÆz®™hnº†-Ö ÷V#ØÙí‘BÀ +ûÆ$z®÷Œó4Orr5 ŽË½”|,Çö …¡Q‹]k‘mÀ .ûÆ—+Q€Y9€Y î˜j¦com…-dQ³i¦ùŒEÔ£ÛµkÅÆMçJËYO½Z—ªpèU$ A6êc鷖ȱ¤c¡ßÉABrñ*û] WQÛ€vPs‘g@™=Œ‹°Þî:d‘¸`œZavT@Œ³DÈ@ s¾ïrí Õá×ü‡]á*gðò)€resolv-0.1.1.1/testdata/msg/0c2248ed621e903da402b64d8dc12fbc.bin0000644000000000000000000000077713174460247021101 0ustar0000000000000000zi€com2À Q=a gtld-serversnetnstld verisign-grsÀ Y'„ :€Q€À .Q—„Ya›Y³j¦com,æ ´‹ö|W?ÏÚ¹ß:¦Úûó]"Vmñœã.‘PÛN[úŠ"Ük)j…8B%èùxoÝ»ø O‡Û®¡Çiø¸XVrUÍo8í N J£L$ËÈÓ”6j̹EîºmZâð¢Ê>Yâ÷º€èú8Ä Dû™tÁ›‘…w7+…ôŸgT~{åÚ»7<­D©Ì©f* ½•_¡ÒÏ­©¦¨ FÝŠfƒÖ'ƒc ,e´ONë'„ Æ ò *Œx<‡¥ÛkÝ0Ø/};ßñ"*@æ‡`ØÞÏêÙdfI;îg5u+e›ÃïåÄ(À /Q* _openpgpkey fedoraprojectorg€€À .Q¥/Q€Y3ú°Y m°- fedoraprojectorg˜~qÜ}#ä–Œ¦Ñ˜BÊ ¸°Ê§==\WNÁòŸvÚžèO3x‚=¼P0(ŒR)ßfd·qB»_¥€wGRäpÌ7­º‚Ýl‡“VóŸ9ŠÑ="/XèY¾†ÆØk- q:pν°~ šòâ9mèZÖ ä_À +: krb5srv:m:kkdcp:https://id.fedoraproject.org/KdcProxy/À .+¥,Y3ú°Y m°- fedoraprojectorgg®[æŠY_ÚÈ2^ó€6´ƒˆõµž'à%Ìn~%N=n2L’ËhÆ™¯Ýó«}‰ˆµ¿âb˜Þk{„RÜU@úÜ~뚟ºEÓ&»®JjjsÄH:%øë¶‹qµž»ƒ¤bE :Ò^f“FË4®¼¤™Æ ŽkJ¼ˆ­~–€_)€resolv-0.1.1.1/testdata/msg/b6e25f429f7bfb60a8a3b473e8d2b6a2.bin0000644000000000000000000000650713174460247021201 0ustar0000000000000000zi€debianorgÿÀ 3 À¢ÜÞÀ .Þ3YCÊYÑ^debianorgºÍ Ee Ub)œÉgì¥rⲈ~ *Y–ÄýÙcì0fMO¸Q㪾q¾üñÜdæù¯.w -n¤GߟP•T˜pÙ“î²Ð“NܧcàÔŠdI©Ùm§»ÄÎGàDÆÍd?]V|†â [n/Æ–äGÆ [qÝ`ßPÚŽŠ"n§°{*Sø\Z{a˜k£b~Ø…~*¯ëIPò­œŽZOXå®»\àÔØ~rž|‡‡‚éCÙ›bU€>±–¡-u±ã¿À )denisÀ hostmasterÀ x9À´X¯€XÀ .pÞp€Y5<ðYyøÑ^debianorgË`3I ä{Zé¹2šŸ!·Þ}5SzïðºðûR“×û§ @HãÏŒ×yìÊÐ+i¨q· Ÿ~x‰–&tŒ24:®sHO_ “.x{8œÖ€È£ž•/¯¾[B•¯^夨÷Dó P!?ÿej‘° |¦wéÂl@Gp¼Ðî_³Û04å”ćÈrê¯3 BÓ¸R/i–AÏÞiri±Kòdñæ-EhÞÇú$7f³•–À .+Þ,YE¨YE˜Ñ^debianorg'é%)/¼¥ì4fçQçJ„²ŽÞè¶…6Ü%Ô÷¸§ b¯袪¾FOM ë_Wמôß JÒ=”dŽ|Ü×9ÜÌéF4~=9J$}±p”ÿßAIP@‰Ë;>i:ú§Ÿ¤Z]•–P/Ƶ¥NÅ댋Iî¸ÁM´„{ÕRûÛ&8üÀ .pÞp€Y5<ðYyøÑ^debianorg‡¤áÈöu(àÍ0ÎÉÝœf[9}\ì+€ªÅfÃZ©Ñð½¹8:ÑÛ€k0r\XcNSBéÝñ®‹‡ýö‚PW\ŽÆßpL¼zü©(âkzuá)î“nãc¾VìùÕ¶b|@ÿ©H§€‘¸[Ü›KîUë¾ J¯[Ua†G2†á 6mx³$óºHSK]Ë"ž§r®I 9ÖoªJ¹€•y o¯ÓPy¯í‚1sEåbt&o~Ćóç ýêA´¯À .+Þ,YE¨YE˜Ñ^debianorgh;IØ¢ÓÑàa+"ÞõñL†-áȪ0•”*êÐ~4UG‡M KµMžDÜ+Í×qåM?Çxú 5_}§3ÏÖAYØ=üD®yŽ“¹s‡7^V: ™H/— Ü’›„5ž¸¤h‚°}2Ä¢ßf‚ðÓ~b4-ü—ßÙß{z{s†û«Gؤ6ßÓg˜Úñ88?Õ…Ú@¯ÿÀî“8afòBÜŒ#™®¶¦±% ðBCÃqLäÄ=‰û7À .Þ#Y5<ðYyøÑ^debianorg€òPÓˆ<»¤DÐÕÃ-‚æq™œ´¡\?)^€\÷Èài4uæ| וþÀ-º­twÕ¸äß:Ê3Ð ³¥¡*þ&•ŠSÀ.EÚpœ\¥"³v焼Þ*›U#@hñK.ß6ƒ¢âoË!˜$;"€Bç»HZÑ3/Ї?y ²c±OXÊ¡)¡ÄõÇ6*Òø®Jg#÷¡‘±1AóÔÈrÌŽ7¥l†+-L¢-šÏ5ø‘ü¢ •©Zšðò}i¶Ø»CLÀ .ÞYE¨YE˜Ñ^debianorgG”8Ru×~§ÜÉêŽ ˆ?p®dˆE‚‡ˆ7vAÔ"x ¼½¦xžyì8£ñÙB©;ÈIUFˆŠýA2Fq–M:®C/YÂXD‡ØŒPU»£DM¶Í󹪥CÑ,bpÃöì¢)´ÑØèÛñ<ÛžS+$Cú®í›:é±@ÐFÀƃ„zsO9@ ÷ŠjM>ajU³ ÞËbýà4ðN’ua”й·:}œ”™« e´åÁŒè¶<#?P¤#3§.£9ÍÀ .ÞÿþYCÍ0YÑ^debianorgÂ5v¶¸ŠÉè=·~4¬¨B`e€Þ¾Lš—ì\°/Ña*:c‘`¤ ³lÎá¢ÐfŸSLz¶ ºÏÐ$#>+–5—ÜL&­¼BA‚ˆ6Ü †~•=å *ömÏ`´í¦§âyº‹¶.À ÿþWÀ ÿþÑ^À 0pÈ÷þ§,h*ñ,)w¾±I(ÊiVönnMu_ïnÂÁìÖisŒ¶/?¢Œ¶»³ Dß‹&Ö¥yì 0‰ùüz9÷¥(">'æX?¼tär¹¨5­´â/ËŒšD´ïÏ4êìüõ KÇŠó±fwG^ýSÓÀBº—WüÇÎ4óMÀ 0p—åÚü+­2KŒÏìù »M Ø©º˜p ¡Ì}™Ïñr€WZíõ—¸7ðâ^ó0…Œç ‹zÑ–ãx¶¿V»e©#¢WÞKêmJ¬‚#4’ ¯¿ÿ ¿û¶ôA\†VÅں–L­B#Þò-ÑPúbç/—üC <ûliLSc¹,÷Úïµ:ó¤¿I¥¸±†»O–³GEaU02qR!ÇR¬itaw4hÛÚñÎÒv[¥Á}:5¦Â÷礿-Þº\Þ=àoæÂJ½Ó ñðò£§î îLŸ„ЫF$¡©­àw§/¿Ž’wYëõç1<üê”-‰ßyÀ #' sSIPS+D2T_sips_tcpdebianorgÀ + ø À + °HÀ + AÈ!!À +&¼€0 ëfÀ p muffatÀ À p maillyÀ À +™çÀ +€>À +‚Y”À +ŒÓ¦ÊÀ +•À p dnsnodeÀ À psec1rcode0netÀ psec2Í)€resolv-0.1.1.1/testdata/msg/87aace8db5b6cb0b4b8c6194967f345b.bin0000644000000000000000000000124713174460247021206 0ustar0000000000000000zi€debianorg2À W)denisÀ hostmasterÀ x9À´X¯€XÀ .WÞYE¨YE˜Ñ^debianorgG”8Ru×~§ÜÉêŽ ˆ?p®dˆE‚‡ˆ7vAÔ"x ¼½¦xžyì8£ñÙB©;ÈIUFˆŠýA2Fq–M:®C/YÂXD‡ØŒPU»£DM¶Í󹪥CÑ,bpÃöì¢)´ÑØèÛñ<ÛžS+$Cú®í›:é±@ÐFÀƃ„zsO9@ ÷ŠjM>ajU³ ÞËbýà4ðN’ua”й·:}œ”™« e´åÁŒè¶<#?P¤#3§.£9Í r0ju544ltcbavo1k3br87djp168tl58jÀ 2WJÀ¢ÜÞØ>ëR«aˆ7­/EÅI$¶vbÿ Á;.WÞ2XYCÊYÑ^debianorgê¢hm¼|Bé×J0oD Ú²ƒ|ûÍ3öWZãÐ~D†À]–}¨xµOúÖ8HÞ.ÝX©_)Êï´â}Ƚü * /ÒRP‘¸mkÅ{À 0¼iµÝ¨¯¬ >ÏÑž¸fÈ‹e¤m•ŒðÆs¡#—Vkd‘Á~ïþâÇü9*‚M”„©'»™¹R‹º~g™ï€|ùŒ + ܀–1á¨_%ƒ>dþùM;²¨7ØÁÆ­¥wT¶and.ÞÃ…Á‰Ñ+‚ Kó77–Óê{O™sæÔºl÷o+«ˆÙi/ÿ~µIÿ€ïE°0àÍcK+qý ¢[ƒáoøŒ­—Ì5}`ön´ 6UûHYÒùS6¾QÏÃ`ÜHí¥|Á+Zz#í¬¦Š‹!CÒdÆîî6¼½|kƒÉˆée¦\R«ç×K³[™‹À .Ÿ0YVY ؤYopensslorgÌ»óÖ>ï÷¬»¤ØÂ9WŒ£”ÓßÔb %QpK¹gy÷ž Œã¶é¹ƒØ§ žðFOðÚÃò³7Š_?}ÊíÎÚBœ¡$ñ;öZR) #3cLjßáÎr‡E¿Ãyuóä:{ƒi~6ìæ±Söpþ 1TªŒìñ†«??gä†åŒÀ .0YVY ؤ®opensslorgNC1çIßôNüÎ(Dû Ö™ 9àˆÈQ­­ïRenvBÁ¹ÊR1-¶åœžBñ­I¢:ÔœZ¡§¶]vB©2ôìâk™Æ¥É ÃXÇíÍËÐ=åŽoŸ½ün›¿äÇôH)e‡ïz†ð37Qóxs•0éPl¤ØÄ&´Ûwù°£ˆl°´ëy)iÀ)dÀ)hÀ)mÀ)cÀ)bÀ)gÀ)À)fÀ)lÀ)kÀ)eÀ)jÀ.)éYÍPY›À9ÌS/%â5ÉD—Œ¡óøÀ}Ƨ!1éhÍË|8̸àËß _'»#ÍYMÜÊ?ð;zˆ$¦ùMû’5Û»š¹Tx/µÇðs¸‡«÷yÄ¿¨EØŸ&Üü„ð0ÙgI$Ù«Ú}Ç wì7— Qöµaa_ûœ,Ú[4À(¥£és³$ S“°ä³=pMPº›ÍnjSCŸ»Ž×[ôàýz>É ß ¥™X"ßèºsHgÄF §Eoè[„'õžQ£ÀÚi¯Ö.‰mSW:ú8ûâ]ô£¾ucù×Ü©V6›HØ´h+v–ÿb2¨uâu¯±}TΣwù]+hRfx8³°¦lº¾Çå›yB¸g­ÓAÐ`gˆØ(«~]PŸË(qŸêIò·j™0Ð>E¬ãr'yEÜ´Pl¸=Ió›nŽâÂ9TIÀ ÀuV¸²¦±oIï³s= ]í?\?A„Ƹø–æ€+wñÄ5 öƒkG0È©¨ ©UfºB膻€LÚ„ä~õm½zìa&U,ìm!Ðï p(ÅTMþ¯çÇË]Ñ‚4:Àq ,áý­"ƒ¼ƒC_òö12Q“mðÚQåOBæ† û5•€%UœÅCÄÿÕ¾=èÏÐg#ŸÄ~ç)Úƒ_¤Rè%顎¼.ËÏV4te,3ÏV©;ÍõÙs—쀉n¡·- s[˜Nhs 3#$ò|-º…éÛè:C8.—K!ÁŽb^ÎÉW}ž{­éRA¨»è©ÔÓ'n@±À¢æü8Ñœ.j«dK(õuü!` îIÍžéjC>RMb‡=0È©’ì¾óßý`ØÂüeC¢\C}=(76¬ª»Å–)[¸,‹Ï[¾ØÑmf « QÇ0=ÌÍžuØ Xcç~¬ÇwãÕ¼xŸÌŠÁ 2ÔÆ$^øÝ¢–Hç›Ê³åÕkˆ„Rù¢ûÒk€^j7ñµÑ«Ý#m7c¥=SŠú~S‚T•P< +âzµƒb h-4Xn¨ÄñüëÝWæ®aƨDžþiÚ1Ýr²ìƹÍÃÓzI°g΂œo¯5cëŽç¦¨‡_HÒ 9¤/²sO|i§ûí¡bÊÖ¸«ïHº5»ãËdáË~3nŒ'{,ž ¨ÃœUÉ¡—¨Ÿp¿¾1.È©0£Y"*Yz€J\ZùÅÀÄçA¿û³àk_;žN!<¶­;z~D·!ÕË:9¡•fÉ+ D OØvæ¿ê°Pަ.´Z~M¡ùXõãé¼ùÔº¬;ÅnÙ‘Ý~¥´G˜µØ•Ísg º>J4±Ãbírñ~Ü,ï†O.ž,½ÁKƒt6LõÎŒ:;£ë;'†ï áŠdûx G¯%(Ž–Ô]QÊåþ8Q_9ŠPNÂGf„´¢šoΡ+‰N1Å¢î”FÛ|,ÙS³gŒø[ê'‚u+ÉêÔ¹ÜbqfÁ%ùÔŒ'òcÂëu Þ©‚SŽE/øR‚3ÞÞÈjVe' pj@–‡QÞca?Ò)€resolv-0.1.1.1/testdata/msg/c4506200f514568ec9a2d42663a1e77d.bin0000644000000000000000000001034413174460247020607 0ustar0000000000000000zi€ietforgÿÀ )ns0amslcomglenÀ*G†\ :€À .Zâ YYȃžietforgP¤/Ó9Cmr#pŠ ƒÜ™vÑvL™ß㺴9½AŠ} ]Ü!Ôô ƒ°ag_ˆúéŸ9úï;_œ«ÔduqÂÓÓÏm0tÂ;öÞ^mù½üƒÒ½¯Ç%³Jξ‹ÜæY&Ó&bÊ'ãt˜¸­þ÷ëXóÅ7®ÍD<çGt×oä¤À~¦y1è>nÊÙü>Èåé…7&´Š† Ãâ\Æèýú@šG¯Å‘úa•, ._¢ØòE®:"ì;ÿš“ÛiF"õeì6†$añcÙÁc¶O îXLËæK䇇7`Yø2œ.’ž4+î޶¤&º*F:@ÞU•À ns1mia1 afilias-nstinfoÀ  ns1ams1ÁŒÀ À&À  ns1sea1ÁŒÀ  ns1yyz1ÁŒÀ  ns1hkg1ÁŒÀ .Zâ ðYȃžietforgÄ-àñëA5Õº+ˆÉ«ºf6Y£Ó˜@Ršl¦|ÐöFû¹´R‚ƒ~ÈÖl‰Øì0`¼‰t¼AÿUj³—ÍÅKw6©…iWAo‡àHP®ó ÛÐø»ÜÚð!„Ró–2P´¡³%iBx• œ›JïfÉÕ)­ðqD:&)’KfÊï¡OÜÕ\*ÑÈä­Ð£qš^sŠ¿S9¿èªµè ƒãƒ—e?k­Í Å/·y<ͪô…èl[•1ÊsÜ3‡­+ˆz)=dâ>¼‹—T_?e+ÄCÄ€Du~9Aˆ*šÛVÃ@Ñ>‡¶–ƒ•~„aŠÀ Æ,À .Zâ ÎYȃžietforg]t…7}V^È¥»[u:<_î¬6Ù(}â]—}ve´º)5ÿj?>_ÊâÒ¹¥Ê€ ­Ìknòqm\ËCe'òÞärßó;a¥6wAfÄ"ýÈçÆŒÈaã6K=? ¢õlB¡ \ °MÚ†°FiЮÑÊP C*È8¿ou¾â œr«2r=» ¸©ë£mòU vOmRŽãK _ ïù±¡Ù†0úÐÝ‚ˆ½‹käÒ.em,M&ívUãÖÁ”|Æ|€,±}…^+”6ÅB[Ì`“†UÛª#„Ç·Äš³ZGQ÷)l»2fíÊpñýæ‘ûjà’=f´À  mailÀ À .Zâ ÜYȃžietforg>º\¤ÊœÉûi»ôì3½Ã?,4t(¥r\pÝÃf_º$8M“L.n`vø§5Üðœ³9mò<2/Ëå¨}2$kç÷R\›Kº†Ug¥gľ|#°Àò,—çÙzÂjŠ8s¤ü÷i0Édª}Ì;»ùÛ¥zgñÉßmp×Yb°ò;w‰ZVÁÀóÓëy<;<16n¾Ê“˜…ÎË]”Ìà¬X^ÓÈÀá߀M©À<ýW;EñýW­á$⟠ÃÈÞ^òaÄ!°x•lûãya8:Å0îæ»¯ѼE…ƒ³(“Ö‚taK¼uQ²Ç/ä.i•¬-^au.×jÀ ÙØv=spf1 ip4:12.22.58.0/24 ip4:64.170.98.0/24 ip4:4.31.198.32/27 ip4:209.208.19.192/27 ip4:72.167.123.204 ip6:2001:1890:123a::/56 ip6:2001:1890:126c::/56 ip6:2001:1900:3001:0011::0/64 ip6:2607:f170:8000:1500::0/64 -allÀ .Zâ àYȃžietforgˆFpxÈÀ²Jã"cTþ´Ùr{ØäAQsMý ´,ø&•ÜÄ:l™Ê+àœ=®ñ¨þ×µ´ÂN+«ÅeœEEMPg÷[Êø´KÒðhhi+G̘AÝ_F:ý}|pk& ‚þi9M¢ç&ŽÞfWÒA•Ýy¹{œí!ÔNIâÅ’ J)Ô†lóu²'µy#à<éæº^ýÞÐ×6—]oI½¬@Ãgaݶ½¤ô¿­£÷gClƒ±Ä¤â¸Då@„sƒ¡¢w¥"2¤¨;‡Çáû7&†Â±g™ J6¤"܈ gϸȧ:îšy±2òöî•ä9R/Ó`vsÀ  0,À .Zâ ¤YȃžietforgFÝØ¦£C«ÒNá! ›%4%@ûª³»UJiQÖ6©2Æqz‘gYð^kè÷$í9œD©<Š€O®«jÏþNH`nlYîΰœN(º9ÇÆCŒg³ÒèTqË)â Ú£9Ë…ß4ïµ…gho’H¨yJwc2É"þæqÉei¹Åæœ;ŸÌ°"òÒTÙþì#-'l»t/#'ì· ®/µÈ Æ w™ôÏ?F |,Q…°¹Ô]Ï9”j½åå±Û|ô’×ÐC+‹À"‚–À•¯¼Ä|o,”%š ‡à¬koä é`~#—p€“†ªë…ÐEklõr7*tþÁ=?´À /*ietf1 _domainkeyietforg b€€À ./Zâ ¯YȃžietforgÚrš>Lin;þîF6 ¸-Àí[ú¸8èÊšb Ì;Ý *!8²©É_ÇYn¢‰±$ŸM[,ÊU›P cþNÅ7éY>)fà}DŽ’¦¿ˆâ)x¨íI…ÂéLcU¹ÿžd»›Ó~cº7©#é0rgµÄ³}VŽW¥C‡Vê%óf3ÕD1Ã%ÃýïQõZŸ'ߟf)¹x¨Ãq@8?¾–^×$Œ$ÝÓöMK p¬+žhE‡þ¤e¯1qÍ’|²uÿÆ›8[í÷ÓÒýAÞkHvœÜ¬!p7pv®s™ø ©BVY?öbúÿ®îóhí:`’À 0ÐÄ ¨Çi8ßJƒScŸp¡ÔO)R>|¸ß¨Ëâºn%€«Jd·½ì8 çóP¬Ñ «éò¯R>»qúÙRˆÙÙÁ‘‹5a‚CªgÛi5W6åË3”ðíUŽT‡yp.¸}¦<ˆ„W£!%…,[§o˜Û á|€Ø+  —†ƒ‰a#°†PäkYJUpIdâ ×]Ëž9ä•>.VÞ–æáø²´ÓÙ.³›…@‡O©4´Ñ:¦èuÖSÆ)Ï¡¡3Ñôq[“ݪ¦ÃŸ' BÉPZ q¿Áuào$Þº±eŸÀ .0Zâ [YȃžietforgRÜuL²‹îصbrç€úÍó9d¥¹;Q—6+n”©˜Fy(ôRƒ‰å§Ç>RÀî×ñm"È®„u0C]ùôÆ.ŠÝ[K¤WcV’Äå#4­ØÉ^€~ HcSYƒåî¿¡´zV§]ØØ£bÓ\ê%˜4çqÈHõýàSø oÃD•&˜HRi`µä½Ö˰Ñ&,oïÞp“ËÕo£³d¡å„ª ûS¨MèG—½Î7M';Ɉ¨ÔmÈcÒ-H 0Wgð"XEäóWìªPʧUm¦9¢r—†ß³=Tž´â`ƒSëÇ;€B•Hª†ýœ¦ìZ¡äº¯À .0Zâ ~Yȃ²ietforgX¥AÚ{£î² =™Üñ–ç¤æÇé Ú 5$¶B/^×ëL¯GP…™æ#Ì(³-ó/¼À=”J ) ÷Jû…Ñß-f¯ÓãªÅo8÷_½GjfûX¦ÝÏ7bŽkÐ-g|©€ Ý‹‚µ€¹oÜg—ÛB%Ì í7ù4•ÙÍÑ '=Ó »˜iÕÕÀH²™2¡µ€½y„eˆëô´ÏUõC€Ïælf»Ä€8ú±à^kÃ79M?½¡²5·äBxyôÝ™L‘š~0­o‚ ›Õþ3f^ÿ¼1%’|è ~ïd'=õ7ÎõQãòVj2¶¯!Îß%ç¬`ÞÑê¬2À cÙØv=spf1 ip4:12.22.58.0/24 ip4:64.170.98.0/24 ip4:4.31.198.32/27 ip4:209.208.19.192/27 ip4:72.167.123.204 ip6:2001:1890:123a::/56 ip6:2001:1890:126c::/56 ip6:2001:1900:3001:0011::0/64 ip6:2607:f170:8000:1500::0/64 -allÀ .cZâ bYȃžietforgkÁø¬ÔÚ‚lƒ÷ÊOø„þíž²´§åX¸ <<7˜é²v¬Ü¡ž«èþ¥“û1½McæÂÅÀyŒÝtcC_>T:F‡Zá8‚hZ²HcS«g*t}ÿ‰’Ù>@æè°¹ÊÊAdA…ðVkÌ^7Ôž9‡â¼!‘ºz(ÛãJ¢ë×t¦«Æˆó’Ê;€‚<˜è§>øQ ±‚'çÇÇÞ¬ EÎg$sR'Í=ؼӘæèÊmVܤ€xsjŠ­Ù`çRE{by­±ëËIT€§ÔÅJ®ÍV‘ …¯ »ÈèÈ*/-R>|W™° òÉ K’ ãò’µ%ÃÑÒNÿ®eã!}³gÓ”¼Ÿb),•ym7 i›£AµT©šÄ/ÔªàÆýq#FÙØ…,0£·ÏÀ )neviiÀ hostmasterÀ x9Àr*0¯€À .+â,YCüWY2Gæµ torprojectorgcsnÐvÏ*‰†áU»ýÔ2°ßú;Í`\&ö¼Ë…×q@U÷ªz ¬Áó±·(ÄJýÀð<ÿÇâ]üUòdJœ«põA½ú]ýÜ,Šà-VÑ«RžU„B{ŸclÊ#2Øù+ÕnpY…GFlùbš½ó+)愪ð'Q§2rÒÄS£‘9ˆÐµ]ŽŒ¤ñý†j‡‡0Ÿ‘>£Ð\",ìÙh|õ1³,½Ó®bo?\ë[å°ô¾bà/õÀ +& ° &åHÀ + Xª»V;(À + A¸ ë!ÿþ &À +*ørF«ºÀ + °ZPÀ .âYBˆfY Èäæµ torprojectorg=KT°â6Õk«{®Õ{Ñ«ú9D¨ ±Êvù1Ó~:8ÜÖg!†§ú¯ˆ5J/ÍÍ&ç¡ü~ õúÒÕý‹ÍÇ×êPø-³%ŠY/RÉ«½eñ˵rHQsBø$ÙÊaí1U4e:WÉrU\yÏàÖô+ÿU}e©4óÀ#.CY$…npªNÛòõ2£š†èR («ò=áVÄgä“ç]îm¯okî ¬{w"­ðPÐ;HÃHf@uä0l(¥ƒÀ .+â,YCüWY2Gæµ torprojectorgC%ÉÑi–_Ñ@/·–åsœ8ú±®õ!šH„¼Š]§}l¶8=¦é™T©ŸO9ñ"T‚’ßskpà¬\¶àÊàó_uÌöŸ’t=`T)5-3Ô=—úU´JÊÈ©a+ÄTâäx2н²#½U{õ q7ØžŸí;6ÄlÁ’²²8¡še¦Ò–·c]!Ó>&ÐýQ¡xûºT7«%=Ïc #HÐtüÂ$(rI’ß½<Ó¡5ýDÀ .QâQ€YC&cYf>æµ torprojectorg$_ñú5ö[½âiRÄŠPqqHÖ°@!›ôVÃàGÑnêz.—»Â—§!#xÞ4£©ªèAcµZŽé¦ö „Ú0ÕŒAKÜ¢íøl¡z€þÕ°ßç‹Ë×"‘Ö$Àl™F +[¯É"ˆ½ %±©Âò‘žéÊ4wî¨5  Ý j'+‚cÆkù{/p]µŸÊh§—¢dHmtò°J†å£dËÞÖ*õücYqaòQÀ:§.ÈE«@2P0l÷=-( À .âYDùìY/Üæµ torprojectorg'^åý‡ñ  ÃåW–É‚ûq@ÕÙ3.;óÚ!À·<Ù~q+Mæ‡}·Å¨#5ÉÕ_xÄ\{Ú"ê(Ø…ÓÑÕNíRURz€Pýy¯ÏæmʤÞ9§€Ü¸ÎdB˜½…q#Uaê¯ÈGà½'KkåuˆvXYòn.~t¼„þ|ô–k4Ù´µ§µ®–‹)Jo‘-´$áõšÉFbÕ–q Œ608žØYj¸—í?À¾¢?,ùb¦»þÇwÔÀ ."0YAtúY ªêCH torprojectorg8*?ÑŒ fþhË ÛâB™”UŸ¶éž•†Žé`\ŠL‡txpz”Æyæíæhä0W³ ºÂ’ /¾Št¼1ʤ£·¸1ÌÏ kÈ^+z" †Xù‚ÎÌ,žž‚Ÿ°8øp;}-M‹ …˜1ÙË öêdö÷‡Oü™å(úd9ŸT¸uÊQÃ’°;‰OMÛ²ù*{ºeË–1Âx“#9¡è¬ú¨¬ZÂéSr7êÜŽéÍx„T ·ažáÖ(ðêhÙæåYXÕ Óä’2»å`„»kçaÁWöWmçÅ#žp()\V¤˜¤üž6¨ÈŒ8e“cÀ ."0YAtúY ªê‹œ torprojectorgbZIÂE(T ô~ @L¤§û|û þ¢¸‹e÷Ÿ[´˜?™”ËŠý›½ø‹²bÀ•u ëÌÂËÍ|/7‚9“>‹{1L¶/[¥ÍRéA¯=sò,æ:ÓÒ£»v u͈ý°üœž;ï™sTw_7jãwÂtA¡ã¶#®Ôû”—ÍÉ,§ó„ÆŠ]¡|Ç9 —'ó7â–/îÀvŸ.ѪRNVéîÔþÿž û‰Î¯´ÖKýLV)³>m$ƒ“ñ|òw[zöcVVØpŽe@)èý’iÈÜÄê[æËCê‹:zʦa ag¼ïĺÜAÊöK?MÙwžÇÐdØ$¼×ˆt¯À .â0YAtúY ªêæµ torprojectorgD&Ò'š¤~Á;mߨ®Ë0[ŸÐÜìèÎunÖl@ÃßgüZþ“TWcö¹ …“_­ç[ÃØháŸF=¼æ0þ+_E›®%Aåj uKz–ðV['íu}Pÿ›@š•÷½û ®þŽ$xõ~pø‹¬ðþùb¸$ä¨_½-SʈÒÕÆy©•ú ,vW)C»S+“·<§c¼#ö}¹‹NÇû`2‹Œÿ|Vîžr×Z1ª¼R äÝÀ 0È´Zp{K?¿HºÒ^ÁÅVè‘¡»î !ÑðÀ¿}>3Öö‘o˜Ž%†ÐCZR“=€îHŠjAÞ›M¤™áa¬F‡½F‡'g-NÅ*ƒ«>P€Šb{ uæ[rpa7¢-ÿ;>ªXç–±3wÿ­âX:Äñzƒ’(|_š)*˜¸¶Ÿ²·î!ø¬/¦—UŒ7WÈö®á¯ù‚•^úo"­ú²SÜc²Å;z•iµÓþÑŽmdчÉ;À 0ÐãŸØÚ»ãHÐô ‹ŸÒvW£:´³Yÿ²œ|0 r»Åû·É“xhã9ÊÂÑ{Óxvñ†QÉEQ—[Œ,aû<ÓæÄ9s2âýáâ2­,09ÀÙx÷>Rà] 6E$k3&ŸPÍ£øv™i{,nhfLFÔkt~?¸¾Ïvä¥DÄ£3@Æù![à”]¶PvÔ¥îp¢¥Ô¯a§Î˜Š‚‚°§/>¤DÂ,- ÿÉ3æ}ÿìâ"EàŠ–¨Ý£œc&”8‡7 ~Ó1ü_êr‰{¸ï®é2Î5®òÕK=TÂ).Äž¥0iˆDh&ç02‚ó5ƒÆLê}¼ò2®ø‚—À 0ÉeIo–Û5d"\ â_Ò#%©r©S„µ# ^ܲjNrh¢o좵Ä襩Ñó" x4 u¯a%©5¥C±1[næ/‰8ˆÍUÃ&õvC.V4`´J~,cÆéõº¸.’—ptÆIYIÆ,øüOO8¬;*¾v$µÃ€“ Œ5Ÿ‹ˆý1}SþÚpIá~8ê@%ƒ¿;u…S&š‚ÝÜÕG}@™Ú,¡¾ ¬Y ÓÚõ6#9e}¼¤†n‚Þ¿ï¾ÈÊ„ñÓã“ÆœkE÷…ª‘ÎÒv””%ÈåÀÜ^ÞYe}Â*í(•-«qòªùÕÇ™ ‰Þ¿·´Ñ§·À Qns5À À Qns1À À Qns3À À Qns4À À Qns2À À +š#„FÀ +ŠÉÅÀ +&åHÀ +Y-ëÀ +V;(À +RÃKeÀ  eugeniÀ )€resolv-0.1.1.1/testdata/msg/585424227713068d541ca07b184abd89.bin0000644000000000000000000000414513174460247020454 0ustar0000000000000000zi€ efforgÿÀ W'ns1À hostmasterÀ x9ŸåX :€À Wns6À À WÀ%À Wns2À À WLKv=spf1 mx ip4:173.239.79.202 include:spf1.eff.org include:spf2.eff.org -allÀ W dummy1À À W dummy2À À W mail2À À WE2è6À #WDÜ < @@@@@@@@@@@@@@@@@@!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! À #WDæ < @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! À #WDð < @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!! À #WDú < @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!! À #WD < @@@@@@@@@@@@@@@@@@!!!!!!!!! !!!!!!!!!!!!!!!! À #WD < @@@@@@@@@@@@@@@@@@!!!!!!!!! !!!!!!!!!!!!!!! À #WD < !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! À #WD" < !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! À #WD, < !!!!!!!!!!!!!!!!!!!!!!!!!! À #WD6 < !!!!!!!!!!!!!!!!!! À #WD@ < !!!!!!!!!!! À #WDd < !!!!!!!!! À #WDn < !!!!!!!!!!!!!!!!!! À #WDx < !!!!!!!!!!!!!!!!!!!!!!!! À #WD‚ < !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! À #WDŒ < !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! À #WD– < !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! À #WD  < @@@@@@@@@@@@@@@@@@!!!!!!!!! !!!!!!!!!!!!!! À #WDª < @@@@@@@@@@@@@@@@@@!!!!!!!!! !!!!!!!!!!!!!!!!!! À #WD´ < @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! À #WD¾ < @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!! À #WDÈ < @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!! À #WDÒ < @@@@@@@@@@@@@@@@@@!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! )€resolv-0.1.1.1/testdata/msg/9a7df62eed45e26cd7e6e7a49585f90e.bin0000644000000000000000000001176613174460247021243 0ustar0000000000000000zi€)stanfordeduÿÀ Q)argusÀ hostmasterÀ x:+m°XÆ€À " mxa-00000d03gslbpphostedcomÀ (mx3À À  mxb-00000d03ÀnÀ &öÐ’Z«C×ÈÀ «C×ÈÀ ˆôÔeÈü˜–€À YXhtBOpqv5il135Xfa09GRiVHY09Xb9qXNj6o5lAfj8gNoBvyyGu5rSb4gvSj9lCUwY1NF0+wL2BO1ZDIcGIpADQ==À -,blitz=mu-0e24b17b-23dce65a-c0b14b75-e742cd66À JIglobalsign-domain-verification=IKP42b_14E6c1gUHTYKgXqj3o5aasL2hd9ECM1tSJPÀ firebase=cartalabÀ YXbwZknJMLNV1XuaJAyUmKlAFrdZo+p5yDlTNACmDUWhgtyihfJc8oWMnK7hWLreN+ozU3mX91yHHzZx0adJPPPg==À CÌv=spf1 ip4:171.67.219.64/27 ip4:171.67.224.0/28 ip4:171.67.214.160/27 ip4:171.67.216.240/28 ip4:171.67.43.137 ip4:171.67.43.138 ip4:171.67.43.139 ip4:171.67.43.140 ip4:171.67.43.141 ip4:204.63.229.192/28 uinclude:_spf.google.com include:_spf.qualtrics.com include:icpbounce.com ip4:148.163.149.245 ip4:148.163.153.235 ?allÀ cCÌv=spf1 ip4:171.67.219.64/27 ip4:171.67.224.0/28 ip4:171.67.214.160/27 ip4:171.67.216.240/28 ip4:171.67.43.137 ip4:171.67.43.138 ip4:171.67.43.139 ip4:171.67.43.140 ip4:171.67.43.141 ip4:204.63.229.192/28 uinclude:_spf.google.com include:_spf.qualtrics.com include:icpbounce.com ip4:148.163.149.245 ip4:148.163.153.235 ?allÀ Qns6 dnsmadeeasyÀ|À Qns7ÅÀ Q AtalanteÀ À QÀ*À Qns5ÅÀ Q AvalloneÀ À 0QˆÐÛ¤Ä.¾í‰„":x×<@úÜÁ+636ð3,8^Ýò /í €¸G?Än'e¾E&»ò![̶T§å5G˜®»Rå§¹¼ã$k*Äá1´na !CrãÂä@«íoÅÀÅ%sðÁr’É×ÈA+3ã³"’²ºa öÓÀ 0Q­@Oð=Ô wh½q®é3FfuHî÷iIõ¡‹ÐÃ%B~Óçö[Eýåí’·ÉZýŸZÉ^2ÖŒIhü(š<0èa)ƒ?äß.a^dòÀ›Q×Õí? ÷ç–°ÎÉÐJf`5•?jÓG=å~eÜ:ŽPGÊ‹O5jyí›8V=ë^¯TA.Öì)ŽZÅý­´ÍJN$sZ:ñ!º ¤£çƒe™Áí:œRGfx=äà©ù4$ÞBXÀ7]Gœ蟼s€S~4Ü_§1=¼ëÁ)ÅðGÕcƒ¦ãÁï¢e©„9¥(è(®RCë˹VàPå‹ÌëùÂn ¾À 0Qˆ¸Zgܱ>q/6Ó„ ½É%:üÍP¨bV§:sïÓkë}'Óʽň³½ï°ÒÓfjí­tón×S!óÅ„S\¶¶l¥‚¯0°ÄP9MpMoè¦Ó­l m%gy:=H¨[M£7IÂüá!gŒ7×?ýk#^¸~½fú`qèáÀ .Q 0£Y4µ¾Y ® ºstanfordedu¸°^(¬Š +}2•LŒ ~µãlõ?·çØÄ»*Û}ÔhŒ¡nn°-]¨ï‡kPk* Æ+ÇÓlâ}‡Ï{Í‚äï µàòÀ5r;—x¬ì«d€Â4®þ’^(> HàÛ¾æKÛÜL4~™ ÔI´6áëAˆD|d€‘*‡O>¹8¿È`ìh/K8¹·&éÑÁWPñ›üìnieI•Wb¯sµ%ûÂihVvÆš¥7+L  Ø7ØŠ/iï¬_8¿h„:×^Þbò2 ¾Ëí…+õmÿ,Ëï&ÌÌŽ*D¦f—§ÿöÐÛ ÚN€Æn’ͽ‚£-27À .Q 0£Y4µ¾Y ®lÀstanfordedu)Û¹.À_”hù|4‹®NY˜N€Xh¡áÜ¿™~«èÁ‡f…ÔÊÌ?I|éåËÓo/›Éß#P1Çæˆ4Cö7¡žù#v#i¸)aQ¦…ä·ŸCsI=c¦UøaǑܥ+ÿpõþÑZxEÏ ÚÆ­aÃ'¨bjçnPÍ+æÀ .Q £Y8ÍYu½lÀstanfordeduxÌ}_– ¨j䆷0ždXØÇMÕ¿µ!rK•ê©t×:žxr©¤Îó®«y)õŸáF:‹Kva÷±«-.#Rmzt}Þ±“Š*Yô$ þ³â-Q@O îØ„©&ÐÊdí F <²<Ë6weÓHéI|Y"NÑ` ;Ÿ£áqæÀ .Q £Y.ïGY[¼ustanfordeduB¤÷¨ºg”®þfÉn0KD¶¿Ç…%gö1€“:¨ŒXlà©k‡4 Pø×¹Ë3?€ ‰h¨R  ")Êvxbƒ12êëDôÜÔ*à¼v[Í·nEÁØsŒºHÝ1VKàÈ&‰ ÜPòÄ‚0RD^‰çº/Ád-¨óO±N4§"Š.À .Q £Y4µDY ®lÀstanfordedu¶¾W€@û7°¬4ë|Ü­ã k`›ºZ¾Ü\êýûhQ'¥ïì Ë÷HÞgÆÜ¬6›º$E y£ eò|VáPĤn_.S±íiIªDî)Þ*x3$õlȆIÉÀß*YÔ Û“uàAÎêÙýµ˜ Í»WÀ . cY6½ÀY-alÀstanfordedu4^MHër¢©ÒÅŠôVã:àÄqÌÚ­(è¬:nü„”¾¦Ñï»ßÇ”³}YU hÒ ÂD” i“tm¡`•ê@ÔB’ñ ’åÜ•­o¾#÷ xAâf¥´<á95õÅÖÌ×O:¾D“É„G¹MC£1ÐMeËÍVp£¯Xàý õc÷ûÀ . YrRX÷ÜustanfordedurŒ˜ºÅ°Ÿ7Ùg×5›üæ^|ÃKÉ_µN¿ÂÖêm"3¬&Út„†Q†ƒTåýÁðúT;T@Iøÿ”¹< •±ZPTá«6o~e|^—ª-i$Ñ´Î8bšÚ®A…ëP ·Â¾pÇ£AõFbSÝùæÞ«”Ä GûZ»vȃ¦ùÀ . Y4µDY ®lÀstanfordeduD.ǸššsßÈ‹ÃCNÈ>îöœv¹}ÒÉú>±H3¦ò ›Miöö7G‚çGzOòûöЕãšHŽAB`G:=ÄîZdøÜèà¤æ:þÊuÎiIîÑ]] ÅÖðUwâ¿©˜|©r‹ÛÔûHR sß KŸjÄ”x/ôØÅ;q‚šÀ . Y3³Y custanfordeduæ L/ÿ~¸õÜVUpô$[£ßò´5Î* ªßNF6ѧÓb…xbL8‰v Æóˆ9ÀK›Ž—4O¡dåz; pß“þßS…W4:œZçTOF[xPJôà°ýiÿC?ž¨@HS©²ðHÀòÀ . Y4µDY ®lÀstanfordedužH\ öÐÍüc§ð41à5jð´×íp#>þÄ\9†fûë S¢T Ä66E¶Ê:Ê™2¡JµÞ8ü8⑇p>¹UÖ8öÀü0>è˰ø[+ÛzW|z¡îJ_„r}²5ÏÀû÷˜J-sÝà!ñaQ™y"±ÒÀ . Y3³Y custanfordeduj,X¢ÞËÊÀ8Ë©ì`tº,,úQMqcuÖßÓRY½h£+u?šF¼Ø.ÎÔßZØ C£":¿—]‘6¢=Ý©=-Ïë'h§È@ Fl>UVòCC»_nušÛ ¥€£ÁÙ×âžYÜo·$À¸Ëøc}*/Ô}¶”Nöè6À . Y4µDY ®lÀstanfordeduŽ´&=/²ñºDZöš8Yðm â,Õ‹¶¾¤Å¼{£+äVH@ 27žÆMrÎs–ÓØqsÙY ÑˉšDë¿"f—;K}œ¼ð­ nzàj¸×‘ºÜTYmù¥Ê÷#nfÈNM*(šµUQNê}æÔN7æ^ËH…ÿŒ=À . Y3³Y custanfordeduwÿ‘C]÷“¾þ“I`Æ=Æò ™·^gìuLJÞºöM‹ê#@¸°ý‘°ÀO3tå×ü Cá@ôt^u†['‰ÞÎû\ °—¼ÎB@ÒÖ$>GY‹˜sµCB@Ãvè^¡¦ì°òZ··†™¨ÿëa±DˆÅ@‡u‰uö‰FÄÞÀ . Y4µDY ®lÀstanfordeduáÞœ®rç}*¢¾o£Ô;i4‰ODf‡³{=;4½| ¤Rh+Ùuo‡ÆmRB9ß/ìBÞåw#ªüÙ¶#èhb:ô!‚È®­ÕºÚßÊ«žÂÍì.@62‚™“ŸÐB¼”XBÙÃ2WFë4´+ç+ :OÆ…‚€PÖ~À . Y2<$Y §?ustanfordeduGHÚ­#ů`ÕjÊR„ª5 ›_¥ï}¶ÃSç¿NíR&ÕÝÏòæb{ê.|Ö¡,–ŠŸÊ?]Ù ¯@bhõÒ®Œ ®Ï;G±B½,ïJŸ !°.ÑaÙ!’ |¥ZÖ/Ñëk% $Ür×Ä—ØÔo iØdÁ\©,0%÷À . Y4µDY ®lÀstanfordeduÐ)]AŠ{´Vaµ [A»à):wâ•Si¨«.U W@¬ËÃ/ˆœÞ¡c ÑÉP\BÄǺ’ªx¼túqöÒvÕS_.IU.Ê?¬ì¼‘ßPû/+‹|W%¢`)I’—ÒÈÎ}áØ “ –ñࢭ"A6:>”¸UÀ /* 003004139284stanfordedu b€ €À . /Y4¬¾Y RlÀstanfordeduiÚÉr””.jÄHõ&'Š˜væ@POâ¼ÀÒ~¬}_K¨–qOÆF&€ÜC¸û¦íûìö.RvNúÚØ¬T4˜b0÷ɺg¹4ARl™_sòÔˆ ‡¿QBe¢YA­éI©¨(ø¢¬'‚Å&âÆŽ< g¾Q‚în(Të7p^»Jе—)€resolv-0.1.1.1/testdata/msg/949ea24aecb8e40432f6af14ceb91ab6.bin0000644000000000000000000000175213174460247021251 0ustar0000000000000000ziƒxfooorgÿ dlbdq9qmbnmmf3v28ndnjkv55oc2f0adÀ2Q&Ó™ê«mWöåv\- ¹”—&¿ÈÙ%ç À.Q—2Q€Y-uYÑåkorgvJá¹ñÌÌjlÐÝ(%¨G:eLVñEÃ$ïߤÃöE|³M¨GŸ2RAR'ˆ–«î%Ä úÞNôxô1ÿ=g|dB/ïYÍÿnœ³&ŒfGèϬ ûGKÉ´òѬ•ÚÒÞ‘¡^yiö2AïŒÖ(¾û¥ÓySH8èÞ h9p7u7tr2u91d0v0ljs9l1gidnp90u3hÀ2Q'ә꫊r­ìÆOMä`0äàÖÒí×X"Á.Q—2Q€Y-±Yó‹korg¢,½o@øª$|€†èöærE™{A­xñ#8|çN¦£{b‘[uB ”,”(òE_ÀáLÁº*èš­®…^[‹Ð+BOc=Räcí«Ÿµ$;ŠØoq*áûá…WJlX=Kƶ•ÿ…ºRÕ&ÎÓô–' º]òBE vaittv1g2ies9s3920soaumh73klnhs5À2Q&Ó™ê«ú¦´% uÒúd’Zí¢~ú¾2Á Â.Q—2Q€Y-uYÑåkorggOˆUsgÇ¢ óž¾~ƒä=.Óx¿Â_ñž §ÊªÝ”Ü¥ŸªýѶÃ\ÚN„6þžÈû\t’ô1þñ1Eø)ãHm,ÿÏ~e|£ÈEhãq]}©¼å‹õ¦ÎÝþ‘%–ˆ¾T@:ù±”½)le%_Vºu'ÖþCõÔ]líÀƒ3a0org afilias-nstinfonocÃwóþÉ„ :€Q€À.ƒ—„Y-±Yó‹korgU³b4Ì ð¶ -ªÎÃO2p® û± ¹ÇïÝ/@ˆëÉ[B ìPbÆ>W£~Ý^ér\cÔwUG€É¡8€WUS~~!РοH{užÀmPýGE€› YÏ_£ÐË áý¶íçôJ‡-Ì‚»ÙÑ¢¡tÔÜ\l)€resolv-0.1.1.1/testdata/msg/01ca022e21220474ca6100f21d137b42.show0000644000000000000000000000126213174460247020660 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 50673, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 1, mhARCount = 0}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 15) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 185, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")}], msgNS = [MsgRR {rrName = Name "fastly.net.", rrClass = Class 1, rrTTL = TTL 29, rrData = RDataSOA (Name "ns1.fastly.net.") (Name "hostmaster.fastly.com.") 2016110301 3600 600 604800 30}], msgAR = []}resolv-0.1.1.1/testdata/msg/033cb8330c8fba5fbb8bd48fd60fd6c3.show0000644000000000000000000000117113174460247021534 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 24290, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "_mirrors.hackage.haskell.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "_mirrors.hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 3637, rrData = RDataHINFO "ANY obsoleted" "See draft-ietf-dnsop-refuse-any"}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/03edcc6e3a8f04350e45b3c718df1cb5.show0000644000000000000000000000126213174460247021367 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 44451, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 1, mhARCount = 0}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 28) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")}], msgNS = [MsgRR {rrName = Name "fastly.net.", rrClass = Class 1, rrTTL = TTL 29, rrData = RDataSOA (Name "ns1.fastly.net.") (Name "hostmaster.fastly.com.") 2016110301 3600 600 604800 30}], msgAR = []}resolv-0.1.1.1/testdata/msg/04e610d95902b1898ee6abce328905dd.show0000644000000000000000000000140513174460247021167 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 50214, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 1, mhARCount = 1}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 16) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 147, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")}], msgNS = [MsgRR {rrName = Name "fastly.net.", rrClass = Class 1, rrTTL = TTL 29, rrData = RDataSOA (Name "ns1.fastly.net.") (Name "hostmaster.fastly.com.") 2016110301 3600 600 604800 30}], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/0c2248ed621e903da402b64d8dc12fbc.show0000644000000000000000000000355513174460247021306 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 0, mhNSCount = 4, mhARCount = 1}, msgQD = [MsgQuestion (Name "com.") (Type 50) (Class 1)], msgAN = [], msgNS = [MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 593, rrData = RDataSOA (Name "a.gtld-servers.net.") (Name "nstld.verisign-grs.com.") 1494230811 1800 900 604800 86400},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 593, rrData = RDataRRSIG 6 8 1 900 1494835611 1494226611 27302 (Name "com.") ",\SYN\230\r\ESC\180\139\246|W?\207\SYN\218\185\223:\166\129\218\251\243]\"Vm\241\156\227.\145P\219N[\250\138\"\220k)j\133\&8B%\232\249xo\221\187\248\ESC\vO\143\135\219\174\161\ETB\199i\248\184X\DC3VrU\205o8\237\rN J\163L$\203\200\211\148\&6\157\b\NULj\204\185E\238\186\ETXmZ\226\240\162\202>Y\226\247\186\128\RS\232\250\DC18\196RenvB\193\185\202R1-\a\182\229\156\158\bB\241\173I\162:\SYN\212\156Z\161\167\182]\DC1vB\169\SOH2\DC1\244\236\226k\DC1\153\198\165\201\f\195X\199\237\205\NAK\GS\203\208=\229\142o\159\189\252n\144\155\191\228\DLE\199\244H)e\135\239z\134\240\&3\ENQ7Q\243xs\149\&0\233Pl\164\216\NAK\196&\SO\180\219w\249\176\163\136l\176\180\235\157y\ETB"},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "i.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "d.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "h.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "m.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "c.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "b.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "g.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "a.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "f.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "l.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "k.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "e.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataNS (Name "j.root-servers.net.")},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 203305, rrData = RDataRRSIG 2 8 0 518400 1495256400 1494129600 14796 (Name ".") "S/%\226\DC25\201D\151\140\161\243\248\192\a}\198\167!1\233\141h\205\203\ENQ\EM|8\204\184\224\b\203\223\r_'\187\US#\205YM\220\202?\240;z\136$\166\EOT\249M\251\146\&5\143\219\187\DLE\154\185Tx/\181\199\240s\184\135\171\247y\196\191\168E\216\159&\220\252\132\240\&0\a\217gI$\217\171\218}\ACK\144\DC3\199\t\tw\236\&7\151\SO\nQ\246\181aa_\251\156,\218[4\192\EOT(\165\NUL\163\233s\179$\tS\FS\147\176\228\179=\DC2pMP\186\155\FS\205njSC\159\187\142\b\215[\244\224\253z>\201\t\223\SI\t\165\153X\"\223\232\186sHg\DC2\196F\160\167E\144\ACKo\232[\132'\245\158Q\163\192\218i\175\214\157\ESC.\137mS\143W:\DC1\250\&8\251\DC3\226]\244\163\190uc\249\215\220\169V6\155H\DLE\216\180\NULh+v\150\255b2\168u\226u\175\177}T\206\163w\249]+h\EMRfx\US8\179\176\166l\186\190\199\229\155yB\184g\173\211\ACKA\208`g\136\216(\171~]P\159\203(q\159\234I\242\183j\153\&0\208>E\172\227r'yE\220\180Pl\184=\ESCI\243\155\SOHn\142\226\194\&9TI\192\r\192\FSu\129\143V\184\178\166\NAK\177\FSoI\239\179\GSs=\n]\237?\\?A\132\198\ACK\184\248\150\ETX\230\128\DC4+w\241\196\&5\160\246\131kG"},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 116905, rrData = RDataDNSKEY 257 3 8 "\ETX\SOH\NUL\SOH\168\NUL \169Uf\186B\232\134\187\128L\218\132\228~\245m\189z\236a&\NAKU,\236\144m!\SYN\208\239 p(\197\NAKT\DC4M\254\175\231\199\203\143\NUL]\209\130\&4\DC3:\192q\n\129\CAN,\225\253\DC4\173\"\131\188\131C_\157\242\246\&12Q\147\SUB\ETBm\240\218Q\229OB\230\EOT\134\r\251\&5\149\128%\SIU\156\197C\196\255\213\FS\190=\232\207\208g\EM#\DEL\159\196~\231)\218\ACK\131_\164R\232%\233\161\142\188.\203\207V4te,3\207V\169\ETX;\205\245\217s\DC2\ETB\151\236\128\137\EOT\ESCn\ETX\161\183-\ns[\152N\ETXhs\t3#$\242|-\186\133\233\219\NAK\232:\SOHC8.\151K\ACK!\193\142b^\206\201\aW}\158{\173\233RA\168\RS\187\232\169\SOH\212\211'n@\177\DC4\192\162\230\252\&8\209\156.j\171\STXdK(\DC3\245u\252!`\RS\r\238I\205\158\233jC\DLE>RMb\135="},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 116905, rrData = RDataDNSKEY 256 3 8 "\ETX\SOH\NUL\SOH\146\236\190\243\223\253`\216\DC3\194\252eC\162\\C}=(76\172\170\187\197\150)[\184,\139\207[\190\216\209mf\ACK\t\171\160Q\a\199\&0=\204\205\158u\ACK\216 Xc\231~\172\199w\227\213\188x\159\204\138\193\r2\212\198$^\248\DC4\221\162\150\DELH\231\155\202\179\229\DC3\213k\136\132R\ETX\249\162\SI\251\210k\128^j7\241\ESC\181\209\171\FS\221#m7c\165\SOH=S\138\250~S\130T\149P< +\226z\181\SI\131b\160\DELh-4Xn\168\196\241\252\129\235\DC3\144\221W\230\DEL\174a\198\168D\158\254i\218\SI1\221\SYNr\178\236\198\185\205\195\211zI\176g\206\130\156o\175\&5c\DC3\235\b\142\231\166\DC2\SOH\168\135_H\210\n9\164/\178sO|i\167\251\237\161b\202\214\184\171\239H\186\&5\187\DC4\227\203\SId\225\203~\FS3n\140'{\NUL,\158\r\DLE\168\195\156U\201\161\151\168\159\DC3p\191\190\&1"},MsgRR {rrName = Name ".", rrClass = Class 1, rrTTL = TTL 116905, rrData = RDataRRSIG 48 8 0 172800 1495411200 1493596800 19036 (Name ".") "Z\249\197\192\196\231A\191\251\179\224k_;\158N!<\182\173;\ENQz~D\183\SOH\129!\213\203:9\161\149f\201+\rD\nO\216v\230\191\234\176P\142\166.\180Z~M\161\249X\245\227\233\188\EM\249\212\186\172;\197n\217\145\221~\165\180G\152\181\ACK\216\149\205sg\v\186>J4\177\195b\237r\NAK\241~\220,\239\134O.\158,\189\ETB\193\bK\131t6\SYNL\245\SYN\206\140:;\163\235;'\134\239\157 \225\138d\251x\fG\175%(\142\150\212]Q\202\229\254\&8Q_\SUB\NAK9\138\DC2PN\194Gf\132\180\162\154o\206\DC4\161+\137N1\197\162\238\148F\NUL\219|,\217S\179g\140\248[\234'\130u+\201\234\212\185\SYN\220bqf\a\193\DC4%\249\212\140'\242c\194\235u\RS\n\222\169\SUB\130S\141\142E/\248R\143\130\&3\222\222\200jVe'\npj\ETX@\SYN\150\DC3\135Q\222ca?\144\210"}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/36187d17453931a5d1563c69ed34fb52.show0000644000000000000000000001177713174460247020765 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 16363, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 14, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "br.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "a.dns.br.")},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "b.dns.br.")},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "c.dns.br.")},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "d.dns.br.")},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "e.dns.br.")},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "f.dns.br.")},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 2 5 1 172800 1494583200 1493978400 16335 (Name "br.") "C\r\136\233\&4\251z\214\ENQ\v\202fm\142\251`3\DEL\181\DLE\aj(/\242\STXO\243\208X\223\145\ETX\227-\146\153*Q\a\ESC\149^.:L\171\170\&7\227<7\221L\ETB\165\220y,\226\226WPF\RS\227\205\154\183\136\227\217\157\232b\177\189 \213@\b:\212\132\RS\240\236\187\240tca\153K/\193\225\132\ETB\166\NAK[VQ\253\175\166K\153\218\213\SUB%\249#\231\143\134\DC1\169\189!}5\CAN0\EOT\179\144q]V\201\178\STX\202\190\151f\163Ks\NUL\DLE\188\140=\SO\178\218\180\194\174\210m\222\223.\252'"},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataNSEC (Name "0800.br.") (fromList [Type 2,Type 6,Type 46,Type 47,Type 48])},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataRRSIG 47 5 1 900 1494583200 1493978400 16335 (Name "br.") "\154\183\204(\130\144\188O\252\209\225\ENQ\SO\252CET@Ve\203\253\139\140\199\243\206\238m+\223\185f\DLE\152$\ETB\159sW\246#\"\CAN\223`\196.\200\181\212\252|\199\ACKN\201\197+\ETB;-\179*.\US\140\f\164g<\r\163\247\173|\157@s\247I\170\ESC'\203f\US\201\204\&3\204S\169\164 \233\203\&8Gw\254\EOT\202\217\SUB\US\180\237\174]Ok\251\246\234\SUB1\242\167i\247\168\150\EOT\249\200\ETB\234\SOH\234\DELm\197\156\194O\223C\245\236\198\160\242]\NAKV\181\180\n\207\128\217@U\EM\180\132\220m\153"},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 21599, rrData = RDataDNSKEY 257 3 5 "\ETX\SOH\NUL\SOH\194\&8\150i\159U\208o\243\225G\214^\132fc\232\144h\"\135\188\SUB\SO\245\254\161\136\240\&4\146@\250\236\188\219\178\138\r\168\151\EOT\141\228\SUB'P\221\EM\SUB>6\NAK_P&\145\202zs\191'\238_f\252\240\230\165\201\SO%%{_o\249\SYNf\SIk\228s\234\DC4\229\223\234\144\r)V\152 =3\148\217~\192+K\243\163\ETX\151\141\160\137\151b_\218\156\209$\161\227\231\216\235\215\235\160r\199\223\159\223:\232\201\191\SIH\t\174\151\153\162UK\253x\247\195'\SO\240Ix\243\131\DEL_ws\DC3\188E\243`\252\170\242l\SYN\202\bz\194\RSI}U\\\205\178\166\136J\237}\249i\174\135\169\DC2\248Lg"},MsgRR {rrName = Name "br.", rrClass = Class 1, rrTTL = TTL 21599, rrData = RDataDNSKEY 256 3 5 "\ETX\SOH\NUL\SOH\209Zg\144K\201\185\174\150\154}\225\223\n\244\180\239\151\195\167\150\173\217\a#i(\189\166\192\"\175J\222\128\227\251U\217\235@t;@T\180\184\196\152\160b\NUL\217\231\245=\aX\b\ETB}{\228a\138@9\137\170\183\184\SO^\222Sh?\236\ENQ\130\151we\ESC\214:y\195\236%\254\139\194b\221!\161}\132!\190X]\217S\228\239:*\RSp\144\ENQ\202\228)\247\GS\169$\v5\254Na\192\131\135\197\242\ESChd\193\151`\162\EOT\235\252\195\130\179$\195\131\175\184H\SI\162^\156\248Z\162\194\143\143\246X \170\149\141\v@\184Z\b\DC1\SO\131\199\239>\166\166\&3y\235\&2\237\208m)\254\182(\140\&3z\144Ws\US\137\217\153Ujc\249\162'\138O\n$\230\179\&2\179\221u\140\r,G\209(\250\&8\137^0\210\174\224\154b09\188Hw\214m\173@#\226\SI\240\224\186\241\255(\176\DC1#\176l\f\231gBq\224l\SIXv\133\n\204\155\130S\212m \213u\196\200Z\235R}\244\216\&3l~^\136\189\174\DEL+\237.@\250\205\202\238-\184\206\222\&5v\186\SUB:\165%\DC3\NUL+\207t\189\CAN\200\n\140\172G\180\183\&6\200mc7M^\223GI\170\137\252\135\205Z\191\169\&8\b8P\216\130J\228 \EOT\187@\252\205\177\194Z\ETB\RS\190\165\218\158c\176\135\SUB:\198"}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/3c973651b87bbb27d9249ef41ebd5c5e.show0000644000000000000000000000163613174460247021344 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 39631, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 5, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "microsoft.com.") (Type 1) (Class 1)], msgAN = [MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1057, rrData = RDataA (IPv4 0x17603435)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1057, rrData = RDataA (IPv4 0x17647aaf)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1057, rrData = RDataA (IPv4 0x682bc3fb)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1057, rrData = RDataA (IPv4 0x6828d323)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1057, rrData = RDataA (IPv4 0xbfefd5c5)}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/419ae4b8b8770bad65e3bdf3cbc84ad3.show0000644000000000000000000000220513174460247021536 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 60637, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 3, mhNSCount = 1, mhARCount = 1}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 16) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 3580, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.", rrClass = Class 1, rrTTL = TTL 3480, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.", rrClass = Class 1, rrTTL = TTL 633, rrData = RDataCNAME (Name "e1863.dspb.akamaiedge.net.")}], msgNS = [MsgRR {rrName = Name "dspb.akamaiedge.net.", rrClass = Class 1, rrTTL = TTL 733, rrData = RDataSOA (Name "n0dspb.akamaiedge.net.") (Name "hostmaster.akamai.com.") 1494154963 1000 1000 1000 1800}], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/47b446859b6bd9bf4d1e7348a356a43c.show0000644000000000000000000000113513174460247021176 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 39296, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 3428, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/4e49a68a7cbd8f6c69eab194c49b9888.show0000644000000000000000000000105113174460247021362 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 21306, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "microsoft.com.") (Type 6) (Class 1)], msgAN = [MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2915, rrData = RDataSOA (Name "ns1.msft.net.") (Name "msnhst.microsoft.com.") 2017050703 7200 600 2419200 3600}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/4e86d529a6401b74f84956cd72682c15.show0000644000000000000000000002751213174460247020772 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 31, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "torproject.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 0, rrData = RDataNSEC3PARAM 1 0 16 "\185\181\DC2\245\247"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 0, rrData = RDataRRSIG 51 8 2 0 1497380687 1493921581 59061 (Name "torproject.org.") "\ESC\139\217>\186\USz(\219\227J\162\235\215t\166\171\198\136\243\146\202;\128\130<\152\232\SOH\167>\248Q \177\130'\NUL\231\199\199\222\172\fE\206g$sR'\205=\216\188\211\152\230\232\202mV\220\164\128xsj\129\138\173\ESC\217\SYN`\NUL\231RE{by\173\177\235\ACK\203IT\128\167\212\197J\174\205V\145\n\133\NUL\175 \187\200\232\b\200*/-\141R>|W\153\176 \242\201\160\SIK\SUB\146\160\227\242\146\181\STX%\129\195\b\209\210N\FS\GS\255\174e\FS\227!}\179g\211\148\188\159b),\149ym7\fi\155\163A\181T\169\154\196/\141\212\170\224\198\253q#F\DLE\ETX\141\217\216\133,0\163\183\207"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataSOA (Name "nevii.torproject.org.") (Name "hostmaster.torproject.org.") 2017050738 10800 3600 1814400 3601},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataRRSIG 28 8 2 300 1497627735 1494168135 59061 (Name "torproject.org.") "csn\208v\207*\137\134\225U\CAN\187\253\212\&2\176\223\250;\205`\DC2\b\\\a&\246\188\203\133\215q@U\DEL\247\170z\r\GS\172\193\243\177\CAN\183(\196J\253\192\240<\255\199\226]\252U\242\EMdJ\156\171p\245A\189\EOT\250]\253\220,\138\224-V\209\171R\158U\132B{\159cl\202#\ACK2\216\249+\213npY\EOT\133\129GFl\249b\GS\154\189\243+)\230\132\170\240'Q\167\&2r\210\SOH\DEL\196S\163\145\&9\136\208\181\NUL]\ACK\GS\142\140\164\241\253\134j\135\DEL\135\&0\159\145\US\ESC>\163\208\\\",\236\217h|\245\&1\DC4\179,\189\211\174bo\DEL?\\\235[\SI\229\176\DC3\244\190b\224/\129\ENQ\245"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x2620000006b0000b 0x1a1a000026e54810)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x2001085800020002 0xaabb0000563b1e28)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x200141b802020deb 0x21321fffe201426)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x2a0104f801721b46 0xabba00050001)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x200106b0005a5000 0x5)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 15 8 2 3600 1497532518 1494075620 59061 (Name "torproject.org.") "=KT\176\SYN\SYN\226\&6\213k\171{\174\213{\209\NUL\171\250\&9D\168\t\177\202v\249\143\&1\211~:8\220\214g!\134\167\250\175\136\&5J/\205\205&\231\DC4\161\252\144~\160\245\250\210\213\253\139\205\199\215\234P\248\b-\179\157%\138Y/R\201\171\189e\241\203\181rHQ\CANsB\248$\217\202\144a\237\&1U4\EOTe:W\201\SYNrU\\\EOTy\207\224\214\244+\255U}e\169\&4\243\SUB\192\CAN#.CY\DC2$\133np\170N\219\242\245\&2\163\154\134\232R\v(\171\ETB\242=\225V\196g\228\147\231\STX]\US\238m\175ok\238\160\CAN\172{w\ACK\"\173\ACK\240P\208;H\195Hf@u\228\&0l(\165\131"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataRRSIG 1 8 2 300 1497627735 1494168135 59061 (Name "torproject.org.") "C%\201\209\ai\SUB\SYN\150_\EOT\209@/\183\150\229s\156\&8\250\177\174\245!\154\USH\132\188\DC3\138]\167}l\182\&8=\166\233\DEL\153T\169\159O9\195\177\"T\130\146\223s\ACKkp\224\172\DC2\\\182\224\ESC\STX\DC1\202\224\243_u\204\246\159\146t=`\ENQ\UST\157)5-3\212=\151\250U\180J\EM\202\DC2\200\169a+\196T\226\228x2\NUL\208\141\189\178#\b\US\189\ACKU{\245\tq7\216\158\159\237;6\196l\193\146\178\178\&8\161\154e\166\210\150\183c]!\DEL\211>\US&\EOT\208\253Q\161x\FS\251\186\141T7\171%=\207c\ETX\t#H\208\157t\252\194$(rI\146\223\189<\SUB\211\161\&5\253D"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 2 8 2 86400 1497572963 1494115902 59061 (Name "torproject.org.") "$_\241\250\&5\246[\189\226iR\196\138PqqH\214\176@!\155\244V\195\224G\209n\234z\SYN.\151\SYN\187\194\151\167!#x\222\&4\163\169\170\232Ac\181Z\142\233\166\CAN\246\EOT\t\132\218\&0\213\140AK\220\162\237\248\144l\161z\RS\128\254\213\176\223\US\231\139\203\215\"\145\214$\192l\153F +[\175\201\"\136\189\r%\177\169\194\242\145\158\233\EM\202\NUL4w\238\168\SOH\a\DC15\n\160\221\DC2\rj'+\194\130c\ENQ\198k\249{/p]\181\159\202h\167\151\162dH\SOmt\242\176J\134\229\163d\203\222\214*\245\252cYqa\242Q\GS\192:\167\EM.\200E\171@\NAK2P\SUB0l\247=-(\f"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 6 8 2 3600 1497692652 1494233052 59061 (Name "torproject.org.") "'^\229\253\SO\135\241\160\t\195\229W\129\150\201\130\251q@\213\217\&3.;\243\218!\192\183<\217~q\ENQ+\ENQ\DC2M\230\135}\183\197\168#\143\&5\201\213_\SUBx\196\\{\218\"\234(\216\133\211\209\213N\237\USRURz\128P\NAK\253y\175\207\DC3\230m\202\164\222\&9\167\128\220\ESC\184\206dB\SI\152\189\133q#Ua\234\175\200G\FS\224\189'Kk\143\229u\136vX\SYNY\242n.~t\188\132\254|\244\150k4\217\180\181\b\167\DC2\181\174\150\139)Jo\145-\180\141$\225\DC1\245\a\154\GS\201Fb\213\150q\v\v\140\&608\158\216\144Yj\184\151\237?\192\190\EOT\162?,\249\STXb\166\187\254\199w\212"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 48 8 2 3600 1497462010 1494002410 17224 (Name "torproject.org.") "\143\&8*?\209\140\SI\160f\254h\203\v\219\226B\153\148U\SI\159\182\233\158\ETX\149\134\142\US\233`\\\138L\DLE\135txpz\148\198y\230\237\230h\228\&0W\179\n\186\ETB\194\146\DEL\r/\190\138t\188\&1\202\164\EM\RS\163\183\184\EM\DC1\CAN1\204\207 \rk\129\200^+z\" \134\SO\RSX\249\DC4\130\206\204,\158\158\130\159\176\&8\248p;}-M\139\r\133\152\&1\217\203\r\246\ACK\234\ETXd\246\247\135O\252\153\229(\250d9\159T\184u\202Q\195\SOH\146\176;\137OM\219\DEL\DEL\178\249\STX\b*{\186e\203\157\150\&1\194x\147#9\161\232\143\172\250\168\172\ENQZ\194\233S\EMr7\234\220\142\233\205x\132T\v \183a\158\225\214(\240\234\143h\217\230\DEL\229YX\213 \211\228\146\&2\ESC\187\229`\132\187k\231a\EM\193\129\DLEW\246Wm\231\197#\ESC\NAK\158p()\a\\V\164\152\164\252\158\&6\168\200\140\&8e\147c"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 48 8 2 3600 1497462010 1494002410 35740 (Name "torproject.org.") "bZI\194E(T\n\244~\160@\SYN\DC4L\164\167\251|\251\n\254\162\184\139\NULe\247\159\DEL\NUL[\180\152?\153\148\DC2\203\138\253\155\189\248\139\178b\192\149u \NAK\235\204\194\NUL\203\205|/7\130\&9\147>\139{1L\182/[\165\205R\233A\175=s\157\242,\230:\211\210\163\187v\DEL\160u\205\136\253\176\252\b\156\ENQ\158;\239\153sTw_7j\227w\129\194tA\161\DC2\227\182#\DEL\174\212\251\148\151\205\201,\167\SO\243\132\198\138]\161|\129\199\&9\160\151'\243\&7\226\150/\238\192v\159\129.\209\170RNV\233\238\212\254\255\158\v\251\137\206\175\180\214K\253L\144V)\179>m$\131\147\241|\242w[z\246cVV\216p\142e@)\232\253\146i\200\220\196\234[\230\203C\b\234\141\139\157:z\a\202\141\166a\ta\DC2g\188\239\196\194\186\220A\202\246K?M\217w\158\199\208d\216$\188\215\136t\175"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 48 8 2 3600 1497462010 1494002410 59061 (Name "torproject.org.") "D&\210'\154\164~\193;m\223\216\174\203\&0[\159\208\220\236\232\206u\DC3\ETXn\214l@\195\223g\252Z\254\147T\DELWc\246\129\185\141\v\133\147_\DC4\NAK\173\231[\195\216h\225\159F=\SO\188\230\&0\254\DC4+_E\155\174%A\ETX\229j\vuKz\ENQ\150\240\bV['\237u}P\255\155@\154\149\247\189\251\EOT\DLE\t\174\254\142$x\RS\245~p\248\139\172\240\254\249b\184\SYN$\228\DC4\ACK\168_\189-S\202\136\210\213\198\DC3y\169\144\SI\149\250\v,vW)C\187S+\147\183\SUB<\167c\SUB\188\CAN#\144\195\FS\182}\185\139N\199\251`2\139\140\255|V\238\158r\ESC\CAN\215\STXZ1\170\188R\f\228\221"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataDNSKEY 256 3 8 "\ETX\SOH\NUL\SOH\180\DC4Zp{K?\191H\186\210^\193\197\EOTV\232\145\161\187\238\v!\209\240\NAK\192\191}>3\214\246\145o\152\142%\134\208CZR\US\157\147=\DEL\128\238\NAKH\138jA\222\155M\164\153\225a\172F\135\189F\135'g-N\197*\131\171\b>P\128\138b{\r\157u\230[rpa7\ESC\194\162-\255;>\170X\231\150\177\&3w\255\173\226X\143:\196\241z\131\CAN\146(\US|_\154)*\b\152\184\ENQ\182\159\STX\CAN\178\183\238!\248\b\172\EOT/\166\144\151\DC1U\140\&7W\NUL\200\246\a\STX\174\225\175\249\130\149\SO^\250o\"\173\250\143\178S\220c\178\197;\EOTz\149\SUBi\181\211\254\209\142md\209\135\201;"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataDNSKEY 257 3 8 "\ETX\SOH\NUL\SOH\208\227\159\216\218\187\227H\b\208\244\f\139\EOT\159\210vW\RS\163:\SUB\180\179Y\255\178\156|0\160r\187\b\197\251\183\201\147xh\227\&9\202\194\209{\211xv\241\134Q\201EQ\151[\140,a\251<\DLE\211\230\196\&9s2\226\253\225\226\&2\173,09\192\217\bx\247>R\CAN\224] 6E$k3&\159P\205\163\248v\153\ETXi{\129,nhf\144LF\212\NUL\SUBkt~?\184\190\207v\228\165D\196\163\&3@\198\249![\224\148]\182Pv\212\165\238p\162\165\212\175a\167\206\152\138\130\130\176\167/>\164D\194,-\t\255\ETB\201\&3\143\230\DC4}\255\236\226\"E\224\138\150\168\SO\SOH\221\163\156c\EM&\148\&8\135\&7\v~\211\&1\ENQ\252_\234r\137{\184\239\174\233\&2\206\DC2\NAK5\RS\174\242\213K=T\194).\196\158\165\&0i\136Dh&\231\&0\SOH2\SYN\130\ACK\243\&5\131\198L\234}\188\242\&2\174\248\130\151"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataDNSKEY 257 3 8 "\ETX\SOH\NUL\SOH\201eI\ACKo\150\NUL\219\&5d\"\\\t\226_\210\DC3#%\169r\169S\ESC\132\EOT\181\SI\EOT\DC3#\t^\220\178jNrh\DC3\SYN\162o\ESC\236\162\181\196\232\165\169\209\243\"\v\NULx4\ru\175a%\169\&5\165\SUBC\177\&1\SUB[\DELn\SO\230/\137\&8\136\205U\195&\245vC.V4`\180J~,c\198\233\245\186\184.\146\151pt\198IYI\198,\248\252OO8\172;*\190v$\181\195\128\147\DC4\n\140\DLE\RS5\159\139\136\253\&1}S\254\SYN\218pI\225~8\234@\144%\131\191;u\133S&\154\130\221\220\213G}@\153\141\218,\161\190\t\172Y\v\211\218\245\&6#9e}\188\ENQ\164\134n\130\222\191\239\190\200\202\132\241\157\211\FS\227\147\DC2\198\156kE\SI\247\133\170\145\206\210v\148\EM\148%\200\229\192\220^\222Ye}\194*\237(\149-\171q\242\157\SUB\170\249\213\199\153\RS\v\137\222\191\183\180\209\167\183"},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "ns5.torproject.org.")},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "ns1.torproject.org.")},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "ns3.torproject.org.")},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "ns4.torproject.org.")},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "ns2.torproject.org.")},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x9a238446)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x8ac90ec5)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x26e54810)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x592deb15)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x563b1e28)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x52c34b65)},MsgRR {rrName = Name "torproject.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataMX 10 (Name "eugeni.torproject.org.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/53d71a9e72adf19251123b46f31769bb.show0000644000000000000000000000126613174460247021104 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 38143, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "c.f.f.c.7.f.e.0.0.6.b.7.5.a.4.0.4.0.1.0.5.2.8.7.1.0.8.4.1.0.0.2.ip6.arpa.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "c.f.f.c.7.f.e.0.0.6.b.7.5.a.4.0.4.0.1.0.5.2.8.7.1.0.8.4.1.0.0.2.ip6.arpa.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataPTR (Name "ghc.haskell.org.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/54f81230e47e2399d16a309e1227025e.show0000644000000000000000000000113313174460247020654 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 53536, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = True, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 5) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 2306, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 4096, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/552aec026306990d49a098d0a4608434.show0000644000000000000000000000152213174460247020655 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 2, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "4.4.2.2.3.3.5.6.8.1.4.4.e164.arpa.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "4.4.2.2.3.3.5.6.8.1.4.4.e164.arpa.", rrClass = Class 1, rrTTL = TTL 86046, rrData = RDataNAPTR 100 20 "u" "E2U+pstn:tel" "!^(.*)$!tel:\\1!" (Name ".")},MsgRR {rrName = Name "4.4.2.2.3.3.5.6.8.1.4.4.e164.arpa.", rrClass = Class 1, rrTTL = TTL 86046, rrData = RDataNAPTR 100 10 "u" "E2U+sip" "!^\\+441865332(.*)$!sip:\\1@nominet.org.uk!" (Name ".")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/57394dfc69f9e32c0c0cd9d4d2057d87.show0000644000000000000000000000113413174460247021263 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 45729, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "microsoft.com.") (Type 15) (Class 1)], msgAN = [MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 3542, rrData = RDataMX 10 (Name "microsoft-com.mail.protection.outlook.com.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/579ff887c8ea54e4173934be5e85faec.show0000644000000000000000000000230413174460247021362 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 33589, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 4, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "microsoft.com.") (Type 16) (Class 1)], msgAN = [MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1524, rrData = RDataTXT ["v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com ip4:147.243.128.24 ip4:147.243.128.26 ip4:147.243.1.153 ip4:147.243.1.47 ip4:147.243.1.48 -all"]},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1524, rrData = RDataTXT ["google-site-verification=6P08Ow5E-8Q0m6vQ7FMAqAYIDprkVV8fUf_7hZ4Qvc8"]},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1524, rrData = RDataTXT ["FbUF6DbkE+Aw1/wi9xgDi8KVrIIZus5v8L6tbIQZkGrQ/rVQKJi8CjQbBtWtE64ey4NJJwj5J65PIggVYNabdQ=="]},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1524, rrData = RDataTXT ["docusign=d5a3737c-c23c-4bd0-9095-d2ff621f2840"]}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/585424227713068d541ca07b184abd89.show0000644000000000000000000001300713174460247020661 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 32, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "eff.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataSOA (Name "ns1.eff.org.") (Name "hostmaster.eff.org.") 2017042405 600 1800 604800 1800},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNS (Name "ns6.eff.org.")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNS (Name "ns1.eff.org.")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNS (Name "ns2.eff.org.")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataTXT ["v=spf1 mx ip4:173.239.79.202 include:spf1.eff.org include:spf2.eff.org -all"]},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataMX 10 (Name "dummy1.eff.org.")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataMX 15 (Name "dummy2.eff.org.")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataMX 5 (Name "mail2.eff.org.")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataA (IPv4 0x4532e836)},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 220 10 "" " @@@@@@@@@@@@@@@@@@!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 230 10 "" " @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 240 10 "" " @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 250 10 "" " @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 260 10 "" " @@@@@@@@@@@@@@@@@@!!!!!!!!! !!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 270 10 "" " @@@@@@@@@@@@@@@@@@!!!!!!!!! !!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 280 10 "" " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 290 10 "" " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 300 10 "" " !!!!!!!!!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 310 10 "" " !!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 320 10 "" " !!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 100 10 "" " !!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 110 10 "" " !!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 120 10 "" " !!!!!!!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 130 10 "" " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 140 10 "" " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 150 10 "" " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 160 10 "" " @@@@@@@@@@@@@@@@@@!!!!!!!!! !!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 170 10 "" " @@@@@@@@@@@@@@@@@@!!!!!!!!! !!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 180 10 "" " @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 190 10 "" " @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 200 10 "" " @@@@@@@!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!! " "" (Name ".")},MsgRR {rrName = Name "eff.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNAPTR 210 10 "" " @@@@@@@@@@@@@@@@@@!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " "" (Name ".")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/593b5d26fc010f953c99621a7d608c8d.show0000644000000000000000000000220613174460247021114 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 19974, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 3, mhNSCount = 1, mhARCount = 1}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 12) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 2950, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.", rrClass = Class 1, rrTTL = TTL 20003, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataCNAME (Name "e1863.dspb.akamaiedge.net.")}], msgNS = [MsgRR {rrName = Name "dspb.akamaiedge.net.", rrClass = Class 1, rrTTL = TTL 999, rrData = RDataSOA (Name "n0dspb.akamaiedge.net.") (Name "hostmaster.akamai.com.") 1494155229 1000 1000 1000 1800}], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/5fb7059d3cc96ae5eb05b06b7212bf76.show0000644000000000000000000000127113174460247021321 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 64444, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 2, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "www.google.com.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "www.google.com.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0xd83ac9e4)},MsgRR {rrName = Name "www.google.com.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x2a00145040070816 0x2004)}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/60c1e26a578cd3007a592250dbad30be.show0000644000000000000000000000206013174460247021210 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 61653, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 5, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 1) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 148, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")},MsgRR {rrName = Name "j.global-ssl.fastly.net.", rrClass = Class 1, rrTTL = TTL 29, rrData = RDataA (IPv4 0x97650044)},MsgRR {rrName = Name "j.global-ssl.fastly.net.", rrClass = Class 1, rrTTL = TTL 29, rrData = RDataA (IPv4 0x97654044)},MsgRR {rrName = Name "j.global-ssl.fastly.net.", rrClass = Class 1, rrTTL = TTL 29, rrData = RDataA (IPv4 0x97658044)},MsgRR {rrName = Name "j.global-ssl.fastly.net.", rrClass = Class 1, rrTTL = TTL 29, rrData = RDataA (IPv4 0x9765c044)}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/616d307f2f3407a001c0ed31ae01daf8.show0000644000000000000000000000126013174460247021202 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 2963, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 1, mhARCount = 0}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 6) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")}], msgNS = [MsgRR {rrName = Name "fastly.net.", rrClass = Class 1, rrTTL = TTL 29, rrData = RDataSOA (Name "ns1.fastly.net.") (Name "hostmaster.fastly.com.") 2016110301 3600 600 604800 30}], msgAR = []}resolv-0.1.1.1/testdata/msg/62a40ed1d8ac22ee6dcca1d8cc6e1733.show0000644000000000000000000000206313174460247021523 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 26891, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 3, mhNSCount = 1, mhARCount = 0}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 16) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 2846, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.", rrClass = Class 1, rrTTL = TTL 16652, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.", rrClass = Class 1, rrTTL = TTL 785, rrData = RDataCNAME (Name "e1863.dspb.akamaiedge.net.")}], msgNS = [MsgRR {rrName = Name "dspb.akamaiedge.net.", rrClass = Class 1, rrTTL = TTL 999, rrData = RDataSOA (Name "n0dspb.akamaiedge.net.") (Name "hostmaster.akamai.com.") 1494155077 1000 1000 1000 1800}], msgAR = []}resolv-0.1.1.1/testdata/msg/62ce31cf45d2d095d384da330a6e6189.show0000644000000000000000000000100313174460247021152 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 32245, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/68c43b7f9e85fb0b77552dc905fe6537.show0000644000000000000000000000113313174460247021211 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 10072, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "_mirrors.hackage.haskell.org.") (Type 16) (Class 1)], msgAN = [MsgRR {rrName = Name "_mirrors.hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataTXT ["0.urlbase=http://hackage.fpcomplete.com/","1.urlbase=http://objects-us-west-1.dream.io/hackage-mirror/"]}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/6a0b07a53da450663489f3ff62fc7866.show0000644000000000000000000000154713174460247021123 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 3, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "fencepost.gnu.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "fencepost.gnu.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x2001483001340003 0xe)},MsgRR {rrName = Name "fencepost.gnu.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0xd076eb0a)},MsgRR {rrName = Name "fencepost.gnu.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataSSHFP 1 1 "\ETB8\CAN\146I?\149\218`\185\b[f\189\CAN\185\142\190\252#"}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/6b49a8a930ab6cdaf5ae91c822247811.show0000644000000000000000000000220613174460247021235 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 23209, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 3, mhNSCount = 1, mhARCount = 1}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 15) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 2381, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.", rrClass = Class 1, rrTTL = TTL 16755, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataCNAME (Name "e1863.dspb.akamaiedge.net.")}], msgNS = [MsgRR {rrName = Name "dspb.akamaiedge.net.", rrClass = Class 1, rrTTL = TTL 590, rrData = RDataSOA (Name "n0dspb.akamaiedge.net.") (Name "hostmaster.akamai.com.") 1494154820 1000 1000 1000 1800}], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/6f5b2b7d7ffa62ab3b6bce45ab3b0b51.show0000644000000000000000000000242613174460247021603 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 3198, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 4, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "microsoft.com.") (Type 16) (Class 1)], msgAN = [MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataTXT ["google-site-verification=6P08Ow5E-8Q0m6vQ7FMAqAYIDprkVV8fUf_7hZ4Qvc8"]},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataTXT ["v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com ip4:147.243.128.24 ip4:147.243.128.26 ip4:147.243.1.153 ip4:147.243.1.47 ip4:147.243.1.48 -all"]},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataTXT ["docusign=d5a3737c-c23c-4bd0-9095-d2ff621f2840"]},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataTXT ["FbUF6DbkE+Aw1/wi9xgDi8KVrIIZus5v8L6tbIQZkGrQ/rVQKJi8CjQbBtWtE64ey4NJJwj5J65PIggVYNabdQ=="]}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/75330cfe5b4c19161dee2d9f578d8fb4.show0000644000000000000000000000100613174460247021334 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 1192, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = True, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 5) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 3478, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/7a13aa49d0b498ee7b5073d1f1370273.show0000644000000000000000000000300313174460247021066 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 51432, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 5, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "_xmpp-server._tcp.gmail.com.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 20, srvWeight = 0, srvPort = 5269, srvTarget = Name "alt3.xmpp-server.l.google.com."})},MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 20, srvWeight = 0, srvPort = 5269, srvTarget = Name "alt4.xmpp-server.l.google.com."})},MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 5, srvWeight = 0, srvPort = 5269, srvTarget = Name "xmpp-server.l.google.com."})},MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 20, srvWeight = 0, srvPort = 5269, srvTarget = Name "alt2.xmpp-server.l.google.com."})},MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 20, srvWeight = 0, srvPort = 5269, srvTarget = Name "alt1.xmpp-server.l.google.com."})}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/7c47e44ab3c0e8d6f3d5f4246dc4a0d2.show0000644000000000000000000000113713174460247021376 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 24972, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "4.4.8.8.in-addr.arpa.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "4.4.8.8.in-addr.arpa.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataPTR (Name "google-public-dns-b.google.com.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/7e3570aada9975cbb2285ed217fe5016.show0000644000000000000000000000400213174460247021236 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 7, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "example.com.") (Type 43) (Class 1)], msgAN = [MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 64454, rrData = RDataDS 31589 8 1 "4\144\166\128mG\241z4\194\158,\232\SO\138\153\159\251\228\190"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 64454, rrData = RDataDS 31589 8 2 "\205\224\215B\214\153\138\165T\169-\137\SI\129\132\198\152\207\172\138&\250Y\135Z\153\f\ETX\229v4<"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 64454, rrData = RDataDS 43547 8 1 "\182\"Z\178\204a>\r\202yb\189\194\&4.\164\241\181`\131"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 64454, rrData = RDataDS 43547 8 2 "aZd#5C\246oD\214\137\&3b[\ETBI|\137\167\SO\133\142\215j!E\153~\223\150\169\CAN"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 64454, rrData = RDataDS 31406 8 1 "\CAN\153h\129\RSn\186\134-\214\194\t\247V#\216\217\237\145B"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 64454, rrData = RDataDS 31406 8 2 "\247\140\243\&4Or\DC3r5\t\142\203\189\b\148|,\144\SOH\199\246\160\133\161\DELQ\139]\143k\145m"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 64454, rrData = RDataRRSIG 43 8 2 86400 1494563200 1493954200 27302 (Name "com.") "\133-dQ\179\DC3\EMi\SI\166\249\140E\212\163\219\181k\SI\197\198M\231\EOTJ\203YO\189Z\151\170p\232U$\160\DC2A6\234c\233\DLE\183\150\200\SOH\177\164\DC2c\161\223\201AB\ENQr\241*\a\251]\tWQ\219\128vPs\145g@\153=\140\141\139\176\222\238:d\145\184\SYN`\ACK\156Z\SIavT@\ENQ\140\179D\200@ s\190\239r\237\160\213\225\FS\215\129\EM\252\ETX\135\ENQ]\225*\CAN\USg\240\242"}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/7f4d4de8e74e86e10d19f1f7428609e4.show0000644000000000000000000000101213174460247021205 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 65505, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 1318, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/816c6c332941a20f07c497ee16609971.show0000644000000000000000000000175513174460247020701 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 10909, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 5, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "microsoft.com.") (Type 1) (Class 1)], msgAN = [MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 905, rrData = RDataA (IPv4 0x6828d323)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 905, rrData = RDataA (IPv4 0xbfefd5c5)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 905, rrData = RDataA (IPv4 0x17603435)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 905, rrData = RDataA (IPv4 0x17647aaf)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 905, rrData = RDataA (IPv4 0x682bc3fb)}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 4096, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/81c9cbfb364a8be0302bd0f4f600c3f6.show0000644000000000000000000000113713174460247021364 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31016, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "4.4.8.8.in-addr.arpa.") (Type 12) (Class 1)], msgAN = [MsgRR {rrName = Name "4.4.8.8.in-addr.arpa.", rrClass = Class 1, rrTTL = TTL 86133, rrData = RDataPTR (Name "google-public-dns-b.google.com.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 4096, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/87aace8db5b6cb0b4b8c6194967f345b.show0000644000000000000000000000443313174460247021416 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 0, mhNSCount = 4, mhARCount = 1}, msgQD = [MsgQuestion (Name "debian.org.") (Type 50) (Class 1)], msgAN = [], msgNS = [MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataSOA (Name "denis.debian.org.") (Name "hostmaster.debian.org.") 2017050804 1800 600 1814400 600},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataRRSIG 6 8 2 3600 1497698216 1494238616 53598 (Name "debian.org.") "\141G\148\&8Ru\215~\167\220\201\a\234\142\f\136?p\174d\136E\130\135\136\&7vA\212\"x \188\189\SYN\166x\158y\236\DC18\163\241\217B\169;\200IUF\136\138\253A2Fq\150M:\174C/Y\GS\194XD\135\216\140P\DC1U\187\STX\163DM\182\205\243\185\170\165C\209,bp\195\246\236\162)\180\209\ETX\216\232\219\241<\219\158S\EOT+$C\250\174\b\237\155:\233\177@\208F\192\198\131\132zsO9@\f\247\138\SOHjM>ajU\179\t\n\222\203b\DLE\253\224\&4\240\DC4N\146ua\148\208\185\183:}\156\148\153\171\ve\180\SI\229\193\140\232\SOH\182<#?P\STX\164#3\167.\163\143\&9\205"},MsgRR {rrName = Name "r0ju544ltcbavo1k3br87djp168tl58j.debian.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataNSEC3 1 0 16 "\SO\192\162\220\222" "\216>\235R\171\NAK\DC2a\203\134\DC37\173/E\197I$\182v" (fromList [Type 1,Type 2,Type 6,Type 15,Type 28,Type 35,Type 46,Type 48,Type 51,Type 65534])},MsgRR {rrName = Name "r0ju544ltcbavo1k3br87djp168tl58j.debian.org.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataRRSIG 50 8 3 600 1497614849 1494156550 53598 (Name "debian.org.") "\234\DLE\144\162h\RSm\188|\SOHB\233\215\RSJ0\DLEoD \218\178\131|\251\205\&3\246WZ\227\208\v\EMD\251\153t\193\155\145\133w7\EM+\133\244\129\159\SUBgT\DLE~{\229\218\187\&7<\173D\169\204\169f*\v\189\149_\161\210\207\173\169\166\DC3\168\DLE\n\141F\221\138f\131\214'\194\131\ACKc\r,e\180\bON\235'\132\r\198\160\242\v*\ETX\ETB\140x<\135\165\219\ETXk\NUL\221\&0\216/};\223\241\US\"*@\230\135`\216\222\207\234\217dfI;\238g5u+\DC1e\155\SO\195\239\229\196("},MsgRR {rrName = Name "_kerberos.fedoraproject.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNSEC (Name "_openpgpkey.fedoraproject.org.") (fromList [Type 16,Type 46,Type 47,Type 256])},MsgRR {rrName = Name "_kerberos.fedoraproject.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 47 5 3 86400 1496578736 1493986736 7725 (Name "fedoraproject.org.") "\144\141\152~q\a\220}#\DC2\228\150\140\166\209\152B\202\r\SO\184\ENQ\176\202\SOH\167\ETB==\\WN\ETB\193\242\159v\141\218\158\232\DC3O3x\130=\188P0\SI(\140\129R)\223fd\183qB\187_\GS\165\128wGR\228p\204\&7\DC3\173\186\130\221l\135\STX\STX\147\DLEV\243\159\&9\STX\138\209\DC4=\DLE\DC4\"/X\232Y\190\134\198\216k-\160q:p\206\189\176~ \154\242\226\&9m\232Z\214\129 \228_"},MsgRR {rrName = Name "_kerberos.fedoraproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataURI 10 1 "krb5srv:m:kkdcp:https://id.fedoraproject.org/KdcProxy/"},MsgRR {rrName = Name "_kerberos.fedoraproject.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataRRSIG 256 5 3 300 1496578736 1493986736 7725 (Name "fedoraproject.org.") "\ESCg\174[\230\138Y_\218\200\&2\SUB^\ETX\243\128\&6\180\131\136\245\181\158'\224%\204n~%\CANN=n2L\146\203h\198\153\SYN\175\221\243\EOT\171}\137\136\181\SO\191\226b\152\SI\222k{\132R\143\220U@\250\220~\235\154\159\186E\211&\187\174Jjjs\196H:%\248\EOT\235\194\182\139q\181\158\187\131\164bE\f:\210^f\NAK\147\ETXF\RS\203\&4\174\188\164\153\198\v\142kJ\188\136\173~\150\128_"}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/8e08e117a1d187bac5d498ffc2797f3a.show0000644000000000000000000000100013174460247021326 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 16846, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = True, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 5) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 185, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/9499a890bd65e85e74e68ca5631941f7.show0000644000000000000000000000266013174460247021071 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 48779, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 5, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "_xmpp-server._tcp.gmail.com.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 20, srvWeight = 0, srvPort = 5269, srvTarget = Name "alt3.xmpp-server.l.google.com."})},MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 20, srvWeight = 0, srvPort = 5269, srvTarget = Name "alt1.xmpp-server.l.google.com."})},MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 5, srvWeight = 0, srvPort = 5269, srvTarget = Name "xmpp-server.l.google.com."})},MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 20, srvWeight = 0, srvPort = 5269, srvTarget = Name "alt2.xmpp-server.l.google.com."})},MsgRR {rrName = Name "_xmpp-server._tcp.gmail.com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSRV (SRV {srvPriority = 20, srvWeight = 0, srvPort = 5269, srvTarget = Name "alt4.xmpp-server.l.google.com."})}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/949ea24aecb8e40432f6af14ceb91ab6.show0000644000000000000000000000666513174460247021471 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 3}, mhQDCount = 1, mhANCount = 0, mhNSCount = 8, mhARCount = 1}, msgQD = [MsgQuestion (Name "xfoo.org.") (Type 255) (Class 1)], msgAN = [], msgNS = [MsgRR {rrName = Name "dlbdq9qmbnmmf3v28ndnjkv55oc2f0ad.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNSEC3 1 1 1 "\211\153\234\171" "mW\246\229v\\-\n\185\148\151&\141\DEL\a\191\200\217%\231" (fromList [Type 2,Type 43,Type 46])},MsgRR {rrName = Name "dlbdq9qmbnmmf3v28ndnjkv55oc2f0ad.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 50 7 2 86400 1496158069 1494340069 3947 (Name "org.") "v\DLEJ\225\185\241\204\204jl\208\SYN\221(%\168G:eLV\241E\195$\239\CAN\223\164\195\CAN\246E|\179M\168G\159\&2RAR'\136\150\171\NUL\238%\ACK\EM\196\143\r\250\222N\244x\244\&1\255=g|dB/\239Y\b\205\255n\156\179&\140\ETBfG\232\207\172\f\ETB\251GK\201\DC4\180\242\209\172\149\218\210\222\145\161^yi\144\246\&2A\141\239\140\214(\190\EOT\251\165\211ySH\EOT8\232\ETX\DC2\222"},MsgRR {rrName = Name "h9p7u7tr2u91d0v0ljs9l1gidnp90u3h.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNSEC3 1 1 1 "\211\153\234\171" "\138r\173\236\198OM\228`0\228\DC2\224\214\210\237\b\215X\GS" (fromList [Type 2,Type 6,Type 46,Type 48,Type 51])},MsgRR {rrName = Name "h9p7u7tr2u91d0v0ljs9l1gidnp90u3h.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 50 7 2 86400 1496166683 1494348683 3947 (Name "org.") "\162,\189o\CAN@\248\170$\DEL\DC4|\128\134\232\SYN\246\230rE\153{A\173x\241#8|\231N\166\163{b\145[uB\f\148,\148(\242E_\192\225L\193\186*\232\154\US\173\174\133^\SUB[\139\208+B\CANOc=\144R\NAK\228\ACKc\237\171\159\181\b\SOH$;\138\216o\ETBq*\225\251\225\133WJlX\SOH=K\ETX\198\182\149\255\133\NAK\186R\213&\206\211\244\150\US\DC3'\f\186]\ETB\242BE\DLE\DC3"},MsgRR {rrName = Name "vaittv1g2ies9s3920soaumh73klnhs5.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNSEC3 1 1 1 "\211\153\234\171" "\250\166\180%\ru\DEL\210\250d\146Z\NAK\237\162~\250\190\&2\193" (fromList [Type 2,Type 43,Type 46])},MsgRR {rrName = Name "vaittv1g2ies9s3920soaumh73klnhs5.org.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 50 7 2 86400 1496158069 1494340069 3947 (Name "org.") "gO\136U\GSsg\199\162 \243\158\STX\190~\131\ETX\228=.\211x\191\SUB\194_\241\FS\158 \167\202\170\221\141\148\220\165\159\170\253\209\182\195\\\218N\132\&6\254\EM\158\200\251\\t\146\244\&1\254\241\DC41E\248\143)\227Hm\CAN,\EM\255\207~e|\163\200Eh\227q\ESC]}\169\188\229\139\245\166\206\221\254\145%\150\136\190T@\DC4:\SOH\249\177\148\189)le%_V\186u'\214\254C\245\NAK\212]l\237"},MsgRR {rrName = Name "org.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSOA (Name "a0.org.afilias-nst.info.") (Name "noc.afilias-nst.info.") 2012479177 1800 900 604800 86400},MsgRR {rrName = Name "org.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataRRSIG 6 7 1 900 1496166683 1494348683 3947 (Name "org.") "\DC1U\179b4\204\v\240\182\f-\170\206\195\144O2p\DC3\174\160\251\177\r\185\RS\199\RS\239\221/@\b\136\235\201[B\n\236P\SUBb\198>W\163~\221^\233\ETBr\\c\212\238\185\136w\USUG\128\201\161\&8\128WU\SUBS~~!\208\160\206\191H{u\158\192mP\253GE\128\155\nY\207\SOH_\DEL\163\208\195\139\US \225\253\182\237\231\244J\135-\ETB\204\130\187\217\209\162\161t\212\220\b\\l\ACK\NAK"}], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/98b101299888feb502f38066db59f0af.show0000644000000000000000000001646213174460247021134 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 18, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "openssl.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataSOA (Name "auth.openssl.org.") (Name "hostmaster.openssl.org.") 2017032573 86400 900 604800 3600},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataNS (Name "secondary.lp.se.")},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataNS (Name "primary.lp.se.")},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataNS (Name "ns.openssl.org.")},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataA (IPv4 0xc26196ea)},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataAAAA (IPv6 0x200106080c000180 0x100ea)},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataMX 50 (Name "mta.openssl.org.")},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataDNSKEY 256 3 8 "\ETX\SOH\NUL\SOH\162l\158\239\255\&3\RS\144\175\162\&3}\143|\138\214Nk\NUL\200\217\214#*\171\176SW\ETX_-\200\235B\152\232\DC3\191\182\ACK\240\160\198R\188\156D\147\163L2\199\170\245\142\187\195\169\178\135\159\203\242o\177\196\230\129\234\206\171]\151\192S\225ufi\ACKKy>~D\134\192]\150}\168x\181O\250\214\ENQ8H\143\222.\221X\169_)\202\239\180\226}\200\189\252\v*\r/\210RP\145\184mk\197{"},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataDNSKEY 257 3 8 "\ETX\SOH\NUL\SOH\188i\181\221\168\175\172\SOH\f>\207\ACK\209\158\184f\DC4\200\139e\164m\149\SO\140\240\198s\161\SYN#\ESC\151Vkd\145\193~\239\254\226\199\252\&9*\130M\DC1\157\148\132\169'\187\153\185R\139\186~\SYNg\153\239\128|\249\140\v+\194\a\r\220\128\150\&1\225\168_%\144\131\ETB>\DC3d\254\249M;\ESC\178\168\ETB7\216\193\198\173\165wT\EM\182and.\222\195\133\193\137\209+\130 K\243\&77\150\211\234{\NULO\153s\ACK\230\212\143\186\141\CANl\247o+\171\136\217i/\SOH\255~\181I\255\128\239E\176\&0\224\205\SOH\141cK+q\253\t\162[\131\225o\248\144\140\173\151\204\144\&5}`\246\ESCn\180\t6U\US\251HY\210\249S6\190Q\207\195`\220H\237\165|\193+\NAKZz#\237\172\166\138\139\EOT!\STXC\210d\198\238\238\RS6\188\SYN\189\US|k\DLE\131\201\136\233e\166\\R\171\231\215\ENQK\b\179\EM[\153\139"},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 48 8 2 3600 1495160463 1493948580 22791 (Name "openssl.org.") "\SO\204\187\243\214>\239\247\172\187\164\216\194\&9W\140\163\148\211\223\a\212b\FS\DC1\t%QpK\185gy\247\158\n\140\227\182\233\185\131\216\167\160\158\240FO\240\218\195\242\179\&7\138_?}\202\EOT\237\206\218B\156\161$\DC2\241;\246ZR)\r#3cL\STXj\223\225\ENQ\206r\135E\191\195yu\243\228:{\131i\FS\SOH~6\236\230\177\ESCS\246p\254\f1T\170\140\236\EM\241\134\171??g\228\134\229\140"},MsgRR {rrName = Name "openssl.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 48 8 2 3600 1495160463 1493948580 44671 (Name "openssl.org.") "NC1\231I\223\244N\ENQ\252\206(D\NAK\251\160\214\153\v9\NAK\DLE\224\136\200Q\173\173\239q/6\211\132\n\r\189\201%:\252\205P\ACK\168\DC2bV\167\129:s\239\211k\235}'\211\202\189\197\136\179\189\239\176\210\211fj\237\173t\243n\EM\143\215\CAN\NAKS!\243\US\197\132S\\\182\182l\165\130\CAN\175\&0\176\196P9MpMo\232\166\211\173l\rm%gy:=H\168[M\163\&7I\194\252\SOH\225!g\140\&7\DC1\215?\253k#^\184~\157\SO\189f\250`q\232\225"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 48 8 2 172800 1496626622 1494031022 2746 (Name "stanford.edu.") "\141\184\176\RS^(\172\138\t+\a}2\149L\STX\EM\140\n~\181\227l\245?\183\231\216\196\187\NUL\SOH*\219}\212h\140\161nn\176-]\168\239\135kPk* \198+\199\211l\226}\b\135\207{\ENQ\205\130\228\239\v\181\224\242\192\&5r;\151x\172\236\a\171d\128\194\CAN4\129\174\254\146^\143(>\160H\224\219\190\DC3\230K\219\220L4~\153\r\212I\FS\180\&6\225\235A\136D|\FSd\128\145*\135O\129>\185\&8\191\200`\236\NULh/K8\DC1\185\183\US&\DC1\233\209\193WP\SUB\241\155\252\a\236nie\SOI\149\ACKWb\175s\EOT\181%\251\194ihV\143v\141\198\154\165\&7+L\160\v\216\DC27\216\138/i\239\172\a_8\191\FSh\132:\215^\222b\242\&2\t\190\ETX\203\237\133+\245\RSm\255,\SOH\203\239&\204\204\142*D\166f\b\151\167\255\246\208\FS\219\v\218N\128\198n\146\205\189\130\163-27"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 48 8 2 172800 1496626622 1494031022 27840 (Name "stanford.edu.") ")\195\155\185.\192_\148h\249|4\139\174\USNY\152N\128Xh\161\225\220\191\153~\171\GS\232\193\135f\133\212\SOH\202\204?I|\233\FS\229\203\211o/\155\201\223\157#P\141\&1\199\230\136\&4\SOHC\246\&7\ESC\161\158\249#v#i\184)aQ\166\133\228\183\159C\DC1sI\FS=c\166U\248a\199\145\220\165+\255p\245\254\209\143ZxE\207 \218\198\RS\173a\195'\143\168bj\195\144\167nP\205+\230"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 6 8 2 172800 1496846541 1494250941 27840 (Name "stanford.edu.") "\DC1x\SUB\204}_\150 \168j\228\134\183\b0\158dX\216\199M\213\191\181!rK\194\149\234\169t\SUB\215:\158xr\169\164\ETB\206\243\174\171y)\245\159\225F:\139Kva\247\177\NUL\EM\171-.#Rmzt\CAN}\222\177\147\138*Y\244$\141\t\254\179\226-Q@O\v\238\216\132\169&\208\202d\237 F\v<\178<\203\&6w\157e\211H\144\233I|Y\"N\209`\v;\159\163\225\SUBq\230\GS"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 2 8 2 172800 1496248135 1493654460 29979 (Name "stanford.edu.") "B\164\247\168\186g\148\174\254f\201n0KD\182\DEL\191\199\133%g\246\&1\128\147:\168\140Xl\224\169k\135\&4\f\DC1P\248\143\215\185\203\&3?\128\r\137h\168\FSR \160\")\202vx\ETBb\131\&12\234\235D\141\244\220\212*\224\188v[\205\183nE\193\216s\140\186\RSH\221\&1VK\224\200\US&\137\r\220P\242\196\130\&0\ETBRD^\137\231\186/\193d-\SUB\168\243O\177\CANN\EOT4\167\"\138."},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 2 8 2 172800 1496626500 1494031022 27840 (Name "stanford.edu.") "\182\190W\128@\251\&7\176\172\SOH4\235|\SI\220\173\227\GS\160\EMk`\FS\155\186Z\190\220\STX\DLE\\\234\253\251hQ'\165\SI\SYN\239\236\f\129\203\RS\247H\222g\198\220\172\&6\155\186$E\160y\163\160\DC2e\242|V\225P\196\164n_.S\177\237i\ETXI\170D\238)\222*x3\157\SOH\NAK$\245\FSl\200\141\GS\DC2\EM\134I\144\201\192\223*Y\212\n\219\147u\ACK\224\ETXA\DC1\206\234\217\253\181\152 \205\187W"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 99 8 2 1800 1496759744 1494166881 27840 (Name "stanford.edu.") "4\STX^MH\DC2\235r\162\169\210\197\138\244V\227:\224\196q\204\218\173(\DC3\232\172:n\252\132\148\190\166\209\239\187\223\199\148\179}\ETBYU\th\NAK\210\r\STX\194\DLED\148 i\147tm\161`\149\234@\212B\146\241\SUB\r\146\229\220\149\173o\190#\247\txA\226f\165\180<\225\&95\245\197\214\204\215O:\190D\147\201\SOH\132G\185MC\163\&1\208Me\203\205Vp\163\175X\224\253 \245c\NUL\247\251"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 16 8 2 1800 1495233106 1492638863 29979 (Name "stanford.edu.") "r\140\152\186\197\176\159\&7\217g\215\&5\155\252\ESC\230^|\195K\201_\181N\191\194\214\a\234m\SYN\"3\172&\b\218t\132\134Q\134\131T\229\253\193\240\250T\DC1;T\SOH@I\248\255\148\185<\v\149\177ZPT\NAK\225\171\&6\ao~e|\EM^\144\151\170-i$\209\180\206\&8b\154\218\174A\133\235P\t\183\194\190p\199\163A\245\DC3Fb\ENQS\221\249\DLE\230\222\171\148\196\vG\251Z\187v\200\131\166\249"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 16 8 2 1800 1496626500 1494031022 27840 (Name "stanford.edu.") "D.\199\184\154\154s\223\200\139\195CN\200>\238\246\156v\185}\210\201\250>\177H\SOH\DC43\166\242\f\155Mi\246\246\&7G\130\231GzO\242\251\246\208\149\227\154H\142A\SUBB`\NAKG:=\196\238Zd\248\220\232\224\164\230\SOH:\254\202u\206iI\143\238\209]]\t\197\214\240Uw\226\191\169\152|\169r\139\219\212\251H\US\DC1R\ts\223 \bK\159j\US\195\132\148x/\SUB\244\216\197;q\130\154"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 29 8 2 1800 1496560398 1493966179 29979 (Name "stanford.edu.") "\SO\230 L/\255~\184\245\220VUp\a\244\CAN$[\163\223\242\SI\ETB\180\&5\206*\v\170\223NF6\209\167\211b\DC2\133xbL8\137v\f\198\243\136\&9\192K\155\142\151\&4O\161d\229z;\f\DC3p\223\147\254\223S\133W4:\156Z\231TOF\129[xPJ\244\224\EOT\176\253i\255C\SUB?\158\168@HS\169\178\240\143H\192\242"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 29 8 2 1800 1496626500 1494031022 27840 (Name "stanford.edu.") "\158H\SUB\\\r\SI\246\208\205\252c\167\240\&41\DC3\224\&5j\240\180\215\237\b\STXp\144#>\254\196\\9\134f\251\235\tS\162T\f\129\196\&66E\182\141\202:\202\153\EM\ETB2\NAK\161J\181\222\&8\252\&8\226\145\129\135p>\US\185U\214\SOH8\246\NUL\192\ETX\DC1\252\&0>\232\203\SUB\176\248\DC1[+\219zW|z\161\238J_\132\br}\178\&5\SO\207\192\251\247\152J-s\221\224!\241aQ\153y\"\177\141\210"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 1 8 2 1800 1496560398 1493966179 29979 (Name "stanford.edu.") "\DLEj,X\RS\CAN\SOH\162\157\222\203\202\192\&8\DC2\203\169\ETB\236`t\186,,\250QMq\NULcu\214\223\211RY\189h\EOT\163+u?\154F\188\216.\206\212\223Z\216\160C\163\":\191\151]\145\&6\162=\221\169=-\207\235'h\167\129\200@\tFl>UV\242\NULCC\187_nu\154\219\GS\f\165\128\163\193\DLE\217\215\226\ACK\158\FSY\144\220o\183$\192\184\203\248c}*/\212}\182\148N\246\232\&6"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 1 8 2 1800 1496626500 1494031022 27840 (Name "stanford.edu.") "\142\DC4\180&=/\GS\178\241\186\b\199\177\246\154\&8Y\240m\DC2\160\226,\213\139\182\190\164\197\188{\ACK\163+\228V\DC4H\143@\f2\SOH7\158\198Mr\206s\150\211\144\216qs\217\DC1Y\n\209\203\STX\US\137\154D\235\191\"f\151;\ACKK}\156\188\240\173\fnz\224j\184\215\145\186\220TYm\CAN\249\165\202\247#nf\200N\SUBM*(\154\181UQN\234}\230\212\FSN7\230^\203H\133\255\143\140="},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 28 8 2 1800 1496560398 1493966179 29979 (Name "stanford.edu.") "w\255\145C\SI]\247\147\190\254\147I`\198=\198\242\f\GS\153\183^g\236\238\191\142uLJ\222\186\246M\139\234#@\184\176\253\145\176\DC3\192O\GS3t\229\215\252\tC\225@\244t^u\134['\137\222\206\251\NUL\NAK\\\f\176\151\188\206B@\210\214$>GY\139\152\DC2s\181CB\143@\ENQ\EOT\195v\232^\161\GS\166\236\176\242Z\183\183\134\153\168\255\SUB\235a\177D\136\197@\135u\137u\246\137F\196\222"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 28 8 2 1800 1496626500 1494031022 27840 (Name "stanford.edu.") "\DC4\225\222\156\174r\231}*\162\190\SOo\DC2\163\212;i4\137OD\ENQf\135\179\FS{=;4\189|\n\164Rh+\217uo\135\198mRB9\223\DC3/\236B\222\229w#\170\252\ACK\217\a\182#\232\DELhb:\ESC\244!\SYN\130\200\174\173\213\186\218\223\202\171\FS\158\194\STX\205\236.@62\130\153\147\159\DC2\208B\SYN\188\148XB\217\SOH\195\EM2WF\235\&4\180+\231+ :\ACKO\198\133\130\128P\214~"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 15 8 2 1800 1496464420 1493870399 29979 (Name "stanford.edu.") "GH\218\173#\197\DEL\175`\213\ETXj\202R\132\170\&5\t\EOT\155_\165\239}\182\195S\143\GS\195\167\191\SUBN\237R&\213\ETX\221\207\US\242\230b{\234.|\214\STX\161,\150\138\a\159\202?]\217\n\175@bh\245\210\174\140\v\174\207;G\177B\189,\239\b\GSJ\159\t!\176.\209a\217!\146\n|\165Z\214/\209\235k%\US $\220r\215\196\151\216\CAN\ETB\212o i\216d\193\\\169,\NAK0%\247"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 15 8 2 1800 1496626500 1494031022 27840 (Name "stanford.edu.") "\208\141)]A\138{\180Va\181\160[A\187\224\EOT):w\226\149Si\168\171.U\fW@\172\203\195/\136\156\222\161c\r\209\201P\\B\SOH\196\199\186\146\170x\188t\NAK\250q\246\210v\213S_\NAK.\141\RSIU\141.\202?\172\236\188\145\EOT\223P\251\DC3/+\SI\139|W\NAK%\DC2\162`)I\146\144\151\157\EOT\210\200\206}\225\NAK\216\160\147\STX\f\150\241\GS\224\DLE\162\173\"\STXA6:>\148\184U"},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataNSEC (Name "003004139284.stanford.edu.") (fromList [Type 1,Type 2,Type 6,Type 15,Type 16,Type 28,Type 29,Type 46,Type 47,Type 48,Type 99])},MsgRR {rrName = Name "stanford.edu.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 47 8 2 1800 1496624318 1494031186 27840 (Name "stanford.edu.") "i\218\201\NUL\144r\148\148.j\196H\245&'\138\152v\230@PO\226\188\192\210~\172}_K\168\150qO\198F&\128\220C\184\251\166\237\251\236\246.RvN\250\218\216\172T4\152b0\247\201\186\EOTg\185\&4ARl\153_s\242\212\136\f\135\191QBe\162Y\SIA\ENQ\173\233I\169\168(\SI\248\162\172'\130\197&\226\198\142<\ACK\vg\190Q\130\238n(T\235\&7\SOp^\194\187J\208\ENQ\181\151"}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/9ebe8abd73d2cb61ac54d631a0305b61.show0000644000000000000000000000126213174460247021356 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 46337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 1, mhARCount = 0}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 12) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")}], msgNS = [MsgRR {rrName = Name "fastly.net.", rrClass = Class 1, rrTTL = TTL 29, rrData = RDataSOA (Name "ns1.fastly.net.") (Name "hostmaster.fastly.com.") 2016110301 3600 600 604800 30}], msgAR = []}resolv-0.1.1.1/testdata/msg/a2878248b0e2a6d30b50bc67d11b5a21.show0000644000000000000000000001354313174460247021137 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 40786, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 21, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "com.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataSOA (Name "a.gtld-servers.net.") (Name "nstld.verisign-grs.com.") 1494175849 1800 900 604800 86400},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataRRSIG 6 8 1 900 1494780649 1494171649 27302 (Name "com.") "y\199J)\ESCiLV\160\DC1y\146Y\202z\249\&6+\239\208\159\143\178\194V.u\EOT\189\220\137\&9X\ENQ\156\DC1\189\218\237v\193=\169nJ+3\133\SUB\240\151T\200\251'\146\209\DC3\aD\DC4\248q\173\216I\234\180\&4*gJ\231\170FV\212\186)\156\219\208\165>;\249V\161U\144\237\185\192\252\138\167\253\NAK%\209\180\240\174n+\239\128'CqB\182y\175\171\171\DC2\192:U\216%c\227\160Kw\215"},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "f.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "c.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "g.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "i.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "l.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "m.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "e.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "h.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "a.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "b.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "j.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "k.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataNS (Name "d.gtld-servers.net.")},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 172799, rrData = RDataRRSIG 2 8 1 172800 1494650866 1494041866 27302 (Name "com.") "P\166\202az\187\155\175\227w\195\202Hq2\163\228aU\231\144\203\159\196A\146!\172\USvn\193;n\170F\185\255\170\169=\235\CAN\181%\199\"\243\254\159\205\140\158\&5{p1\ETB\231vb\fv\209\203\179\DC2\132(v\140\147\222\"\181NXB\202\246s\242\n~\163\r\SUB\EOT\\\DC2\179"},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataDNSKEY 256 3 8 "\SOH\ETX\171\205/\235\a\130\203\ESC\EM\135\129\189e\EOT\229j\140\133~-\233\161\248\221?\181\200 ;m\173#\153\SUB\196\&0\192R\198]n\177Tt\214\224_\184V\141\215\154\145\209\FS\238e\244\ETX1\157\128\STX\135\a\184[\244 \254\172\&8\225'\142}\DC4\174\161$\230\217\226\149RG\143\EOT&\130@1'\a;\197/\229w\255\141Z\NAK=\160\205\207\v{\ESC\CAN\NUL\139w\175\214T\237\150J\135\229\231\132\152\130\233\171"},MsgRR {rrName = Name "com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataDNSKEY 257 3 8 "\SOH\ETX\195\206WM\152\203\217\NAK~\rp\210t\184I\202\SO\SO\237\154\255\197\220\204\144GIi\ACKe\\5\203\b\179\245.\RSj\245\&6\139>z\140]Ux\"\EOT\194#\153\204\238C6\153r\GS\163B8-\EOT\249\185b\194\227\223\249Y}'\166\242\f\SI\135\&9\225U\EOT\149\212\172<\SOH\193}\SO\205\DC1E\EOT_\145\ACK\131\158\253\228\196\&8\238\141\180\&4\133\GSc\234\DC1\234tl\220\233\&1\138s \204\168\129\239\135\222\203\141\139\216g\160\228\EOT\244\179\208\199\247_\243\228\176k\210.\DC2\132\240\157\139\176^\144M\191~w\170\USO\247\251\137Hu\204g\186\187{d\FS\166l\188\156\138S\140[\174\131\230p\214\US\231C!P\169h0\198\195W\179\232\157\243ZX\b?\246Kh;gA\184\174\195xou\157\143\137\205\239|\213\254\192\248#`m\ESC\247=\219/!\225\217)\195\243E\ETX/\128\228\162\EOTL\178cR\RS}\228I\183r\203\150?\SUB\189"}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/a48ae1f9104e3732d4c5bd183c2a9ae1.show0000644000000000000000000000112613174460247021304 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 15280, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 147, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/b0beddd4cdcdc372a58192f3ae7264e2.show0000644000000000000000000000502313174460247021531 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 1949, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 15, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "microsoft.com.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataA (IPv4 0x17647aaf)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataA (IPv4 0x17603435)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataA (IPv4 0xbfefd5c5)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataA (IPv4 0x6828d323)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataA (IPv4 0x682bc3fb)},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 84943, rrData = RDataNS (Name "ns1.msft.net.")},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 84943, rrData = RDataNS (Name "ns2.msft.net.")},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 84943, rrData = RDataNS (Name "ns3.msft.net.")},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 84943, rrData = RDataNS (Name "ns4.msft.net.")},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataSOA (Name "ns1.msft.net.") (Name "msnhst.microsoft.com.") 2017050703 7200 600 2419200 3600},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataMX 10 (Name "microsoft-com.mail.protection.outlook.com.")},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataTXT ["google-site-verification=6P08Ow5E-8Q0m6vQ7FMAqAYIDprkVV8fUf_7hZ4Qvc8"]},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataTXT ["v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com ip4:147.243.128.24 ip4:147.243.128.26 ip4:147.243.1.153 ip4:147.243.1.47 ip4:147.243.1.48 -all"]},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataTXT ["FbUF6DbkE+Aw1/wi9xgDi8KVrIIZus5v8L6tbIQZkGrQ/rVQKJi8CjQbBtWtE64ey4NJJwj5J65PIggVYNabdQ=="]},MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 2143, rrData = RDataTXT ["docusign=d5a3737c-c23c-4bd0-9095-d2ff621f2840"]}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/b127444bb25b3d2947e972d3ba0c26dd.show0000644000000000000000000000104613174460247021227 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 60351, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "_mirrors.hackage.haskell.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "_mirrors.hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 3788, rrData = RDataHINFO "ANY obsoleted" "See draft-ietf-dnsop-refuse-any"}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/b28818a1324f6e327b4c31668e0e6d9d.show0000644000000000000000000000101113174460247021100 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 26541, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "microsoft.com.") (Type 15) (Class 1)], msgAN = [MsgRR {rrName = Name "microsoft.com.", rrClass = Class 1, rrTTL = TTL 1357, rrData = RDataMX 10 (Name "microsoft-com.mail.protection.outlook.com.")}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/b473fc47ff9ce44a72ef479cbb6fa861.show0000644000000000000000000000475213174460247021515 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 17, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "google.com.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0xacd913ce)},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0xacd913ce)},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0xacd913ce)},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x2a001450400e0808 0x200e)},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataMX 50 (Name "alt4.aspmx.l.google.com.")},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataMX 10 (Name "aspmx.l.google.com.")},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 59, rrData = RDataSOA (Name "ns4.google.com.") (Name "dns-admin.google.com.") 155321650 900 900 1800 60},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "ns4.google.com.")},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataMX 40 (Name "alt3.aspmx.l.google.com.")},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataMX 20 (Name "alt1.aspmx.l.google.com.")},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataMX 30 (Name "alt2.aspmx.l.google.com.")},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "ns3.google.com.")},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "ns2.google.com.")},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataCAA 0 "issue" "pki.goog"},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataCAA 0 "issue" "symantec.com"},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataTXT ["v=spf1 include:_spf.google.com ~all"]},MsgRR {rrName = Name "google.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "ns1.google.com.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/b64d9926db52e425c8747c143b9266c1.show0000644000000000000000000000112413174460247021032 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 60952, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = True, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "hackage.haskell.org.") (Type 5) (Class 1)], msgAN = [MsgRR {rrName = Name "hackage.haskell.org.", rrClass = Class 1, rrTTL = TTL 148, rrData = RDataCNAME (Name "j.global-ssl.fastly.net.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 4096, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/b6d7e514db902da80c8a8e124673139b.show0000644000000000000000000000125313174460247021160 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 56763, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "www.thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com.") (Type 1) (Class 1)], msgAN = [MsgRR {rrName = Name "www.thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com.", rrClass = Class 1, rrTTL = TTL 35622, rrData = RDataA (IPv4 0x5e7e2a32)}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 4096, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/b6e25f429f7bfb60a8a3b473e8d2b6a2.show0000644000000000000000000002643113174460247021407 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 31, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "debian.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 0, rrData = RDataNSEC3PARAM 1 0 16 "\SO\192\162\220\222"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 0, rrData = RDataRRSIG 51 8 2 0 1497614849 1494156550 53598 (Name "debian.org.") "\186\DLE\205\fEe\vUb)\EM\156\201g\236\165r\226\178\136\STX~\US\v*Y\150\196\253\217c\236\&0fMO\157\184Q\227\170\CAN\190q\190\252\241\220d\230\249\175.\EOTw\f-n\164G\223\159P\149T\152p\217\147\238\178\208\147N\220\167c\224\212\138dI\169\217m\167\187\196\144\206G\224D\198\205d?]V|\134\226\r[n/\198\150\228G\198\v[q\FS\221`\223\RSP\218\DC4\142\138\"n\167\176{*S\248\\\129\141Z{a\152k\163b~\216\133~*\175\235IP\242\173\156\142ZOX\229\174\157\187\\\224\212\216~r\DEL\158|\135\NAK\135\130\233C\217\155bU\128\DEL>\177\150\161-u\177\227\191"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataSOA (Name "denis.debian.org.") (Name "hostmaster.debian.org.") 2017050804 1800 600 1814400 600},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 28799, rrData = RDataRRSIG 2 8 2 28800 1496661232 1493203448 53598 (Name "debian.org.") "\203\GS`3I\r\228\EM{\ACKZ\SUB\233\185\&2\154\159!\194\183\222}5\143Sz\239\240\186\240\129\251R\147\215\251\167 @\DC1H\227\207\140\215y\236\202\208+\NULi\168q\183\NAK\r\DEL\159~x\GS\137\150&\NAKt\140\a2\GS4\SO:\174s\DC3\DLEHO_\v\147.x{8\156\214\SO\128\200\163\158\149/\175\190[B\149\175^\229\ESC\NAK\164\216\247D\243\t\SOP!?\255\DC4\ACKej\145\176\f\EOT|\ACK\166w\233\194l@Gp\188\208\238_\179\219\&0\CAN4\229\GS\148\196\135\200r\234\175\&3\rB\211\184R/i\150\SOHA\207\222iri\177K\242\NAKd\241\230-\STX\DC1Eh\222\199\250\157$7\SUBf\179\149\150"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataRRSIG 1 8 2 300 1497698216 1494238616 53598 (Name "debian.org.") "'\233%\DC3)/\188\165\236\&4\DC2f\231Q\231J\132\178\142\222\232\182\133\DEL6\220%\212\ACK\247\184\167\vb\175\CAN\232\162\170\190FOM\RS\f\235_\144W\ETB\215\158\244\223\vJ\210=\148d\142|\220\215\&9\220\204\233F4~=9J$\a}\177p\148\255\223AIP@\137\DLE\203;>i:\250\SUB\167\159\164Z]\149\150P\US/\157\198\181\ETX\165N\DC3\197\235\140\139I\US\238\184\193M\180\132\141{\213R\251\219&8\252"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 28799, rrData = RDataRRSIG 15 8 2 28800 1496661232 1493203448 53598 (Name "debian.org.") "\135\164\225\200\246u(\DC1\129\NAK\224\a\141\205\&0\206\201\221\156f[\ENQ9}\\\236\157+\SYN\128\170\197f\ETB\195Z\169\209\240\189\185\&8:\EM\209\219\128k0r\\Xc\NAKNSB\233\221\241\174\139\135\253\246\130PW\129\\\142\198\223\DLEpL\NUL\188z\252\169(\226kzu\225)\238\147n\227c\190V\236\249\213\182b|@\255\169H\167\128\145\184[\220\155K\238U\235\190\tJ\ETB\175[Ua\134G2\134\225\v6mx\179$\243\186HSK]\203\"\158\167r\SO\174I\f9\214o\170J\185\128\149y\vo\175\211Py\DC3\DC4\175\US\237\130\&1sE\229bt&o~\SUB\196\134\243\DLE\231\n\253\234A\180\175"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataRRSIG 28 8 2 300 1497698216 1494238616 53598 (Name "debian.org.") "h;I\216\162\211\209\224\SOHa+\"\a\222\245\241\SIL\134-\225\200\170\&0\149\148*\234\208~4UG\135M\DC1\rK\US\181M\158D\220+\205\215q\229M?\199x\250 5\STX_}\167\&3\207\214\DEL\ETBAY\216=\252D\SO\174y\142\147\185s\STX\135\SO7^V:\160\153H/\151 \220\146\155\132\&5\158\143\184\164h\SUB\130\176\CAN\a}2\196\162\a\SYN\223f\130\240\211~b4-\252\151\223\217\DC2\223{z{s\134\251\171\ESCG\216\164\&6\223\211g\152\218\241\&88\SUB?\213\133\218@\175\255\EM\192\238\147\&8af\242\DC4B\DC3\220\140#\153\174\182\166\ETX\177%\DC4\f\240BC\195qL\228\196=\DC1\137\251\DC17"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 35 8 2 3600 1496661232 1493203448 53598 (Name "debian.org.") "\128\242P\211\136<\187\164D\208\213\195-\130\230q\153\156\180\161\\?)^\128\\\247\200\224i4\NULu\230|\t\215\DC4\149\254\ETB\192-\186\173tw\213\DC3\184\228\223:\202\&3\208 \179\165\161*\254&\149\138S\192.E\218\EMp\156\\\165\b\"\179v\231\132\188\222\DEL*\EM\155U\US#@\ENQh\241K.\223\&6\131\162\226o\203!\152$;\"\128\DC1B\231\187HZ\209\&3/\208\135?y\n\178c\177OX\CAN\202\161)\161\196\245\199\DC16*\210\248\174Jg#\247\161\145\177\&1A\243\212\200r\204\142\&7\165\GSl\134+-\ETX\129L\162-\154\207\SO5\248\145\252\162\v\149\169Z\154\240\DC4\242}i\182\216\187CL"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 6 8 2 3600 1497698216 1494238616 53598 (Name "debian.org.") "\141G\148\&8Ru\215~\167\220\201\a\234\142\f\136?p\174d\136E\130\135\136\&7vA\212\"x \188\189\SYN\166x\158y\236\DC18\163\241\217B\169;\200IUF\136\138\253A2Fq\150M:\174C/Y\GS\194XD\135\216\140P\DC1U\187\STX\163DM\182\205\243\185\170\165C\209,bp\195\246\236\162)\180\209\ETX\216\232\219\241<\219\158S\EOT+$C\250\174\b\237\155:\233\177@\208F\192\198\131\132zsO9@\f\247\138\SOHjM>ajU\179\t\n\222\203b\DLE\253\224\&4\240\DC4N\146ua\148\208\185\183:}\156\148\153\171\ve\180\SI\229\193\140\232\SOH\182<#?P\STX\164#3\167.\163\143\&9\205"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 0, rrData = RDataRRSIG 65534 8 2 0 1497615664 1494156551 53598 (Name "debian.org.") "\194\&5v\DEL\182\184\138\201\232=\183\ETB~4\172\DEL\168B`e\SUB\128\222\190L\141\154\151\236\\\176/\NUL\209a*:c\145`\164\t\179l\206\225\162\RS\208f\159S\RSLz\182\n\a\186\207\208$#>+\150\&5\151\129\220L&\173\188\141BA\SOH\130\136\&6\DC1\141\220 \134~\149\144=\229\v*\246m\SI\DC2\207`\180\237\SO\166\167\226y\186\139\182."},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 0, rrData = RData (Type 65534) "\b\EMW\NUL\SOH"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 0, rrData = RData (Type 65534) "\b\209^\NUL\SOH"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 28799, rrData = RDataDNSKEY 256 3 8 "\ETX\SOH\NUL\SOH\247\254\167,h*\ACK\241\143,\SYN)w\190\177I(\202\ACKiV\246nn\SUBM\bu_\239n\194\193\236\214is\140\SUB\SO\182/?\162\140\b\182\187\179\rD\223\139&\214\165y\236\r0\SOH\137\249\252z\EM9\247\165(\EM\143\">'\230\GSX?\188t\228r\185\168\&5\173\SI\180\226/\203\140\154D\180\239\207\&4\234\ETX\236\252\245\NAK\tK\199\138\243\NAK\177fwG^\253S\211\192B\186\151W\252\SYN\199\206\&4\FS\243M"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 28799, rrData = RDataDNSKEY 257 3 8 "\ETX\SOH\NUL\SOH\151\229\ETB\218\252+\173\&2\GSK\140\207\236\249\f\n\187M\129\160\216\169\186\152p\n\CAN\161\204}\153\207\241\ETBr\128WZ\237\CAN\245\151\184\&7\240\226\US^\243\&0\133\140\141\231 \139z\209\150\227x\182\191V\187e\SYN\169#\162W\222\157K\DC4\234mJ\172\130#4\146\f\175\191\255 \191\251\182\244A\\\134V\197\218\186\194\NAK\150L\173B#\222\242-\209\SIP\250b\DC1\231/\151\a\252\SYNC\160\DLE\US<\251liLSc\SOH\185,\247\218\143\239\181:\243\164\191I\165\157\184\177\134\187O\150\179GE\ESCaU02qR!\199R\172\STXita\157w4h\219\218\241\206\210v[\165\193}:\STX\DLE5\157\166\144\EOT\194\247\231\164\191-\222\186\\\144\222=\224o\230\194J\189\211\160\241\240\242\163\167\238\f\SOH\238L\159\DC4\132\208\171F$\161\169\GS\173\224w\167/\191\142\146wY\235\245\231\&1<\252\234\148-\NUL\137\223y"},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataNAPTR 10 0 "s" "SIPS+D2T" "" (Name "_sips._tcp.debian.org.")},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x200104f80001000c 0x15)},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x200106101908b000 0x1480014)},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x200141c810000021 0x210004)},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataAAAA (IPv6 0x2605bc8030100b00 0xdeb01660202)},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 28799, rrData = RDataMX 0 (Name "muffat.debian.org.")},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 28799, rrData = RDataMX 0 (Name "mailly.debian.org.")},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x599e704)},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x801f003e)},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x8259940e)},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x8cd3a6ca)},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataA (IPv4 0x9514040f)},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 28799, rrData = RDataNS (Name "dnsnode.debian.org.")},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 28799, rrData = RDataNS (Name "sec1.rcode0.net.")},MsgRR {rrName = Name "debian.org.", rrClass = Class 1, rrTTL = TTL 28799, rrData = RDataNS (Name "sec2.rcode0.net.")}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/b90b636aee4f847240da4e2606eb64af.show0000644000000000000000000000112613174460247021316 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 8824, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "www.thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com.") (Type 1) (Class 1)], msgAN = [MsgRR {rrName = Name "www.thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com.", rrClass = Class 1, rrTTL = TTL 35774, rrData = RDataA (IPv4 0x5e7e2a32)}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/bc73346b31d530d2fd1c40100e0abdb3.show0000644000000000000000000000206313174460247021251 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 49467, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 3, mhNSCount = 1, mhARCount = 0}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 12) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 3376, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.", rrClass = Class 1, rrTTL = TTL 17605, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.", rrClass = Class 1, rrTTL = TTL 785, rrData = RDataCNAME (Name "e1863.dspb.akamaiedge.net.")}], msgNS = [MsgRR {rrName = Name "dspb.akamaiedge.net.", rrClass = Class 1, rrTTL = TTL 885, rrData = RDataSOA (Name "n0dspb.akamaiedge.net.") (Name "hostmaster.akamai.com.") 1494154963 1000 1000 1000 1800}], msgAR = []}resolv-0.1.1.1/testdata/msg/bd9f84e89a040ca3c405c8b0c61e7b95.show0000644000000000000000000000114313174460247021321 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 38134, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "c.f.f.c.7.f.e.0.0.6.b.7.5.a.4.0.4.0.1.0.5.2.8.7.1.0.8.4.1.0.0.2.ip6.arpa.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "c.f.f.c.7.f.e.0.0.6.b.7.5.a.4.0.4.0.1.0.5.2.8.7.1.0.8.4.1.0.0.2.ip6.arpa.", rrClass = Class 1, rrTTL = TTL 899, rrData = RDataPTR (Name "ghc.haskell.org.")}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/c1643eda6cc3d3ed3cee45c25027e5f4.show0000644000000000000000000000175113174460247021456 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 18218, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 4, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 1) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 3478, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.", rrClass = Class 1, rrTTL = TTL 19714, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.", rrClass = Class 1, rrTTL = TTL 890, rrData = RDataCNAME (Name "e1863.dspb.akamaiedge.net.")},MsgRR {rrName = Name "e1863.dspb.akamaiedge.net.", rrClass = Class 1, rrTTL = TTL 10, rrData = RDataA (IPv4 0x5c7ab450)}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/c19a30769d1fac0f4bc2e4e20681ef4e.show0000644000000000000000000000106513174460247021374 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 1121, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "www.google.com.") (Type 1) (Class 1)], msgAN = [MsgRR {rrName = Name "www.google.com.", rrClass = Class 1, rrTTL = TTL 129, rrData = RDataA (IPv4 0xd83ac9e4)}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/c2b9983a237cc1d0085a7579dd54f189.show0000644000000000000000000000076613174460247021130 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 30614, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "www.google.com.") (Type 28) (Class 1)], msgAN = [MsgRR {rrName = Name "www.google.com.", rrClass = Class 1, rrTTL = TTL 186, rrData = RDataAAAA (IPv6 0x2a00145040070816 0x2004)}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/c4506200f514568ec9a2d42663a1e77d.show0000644000000000000000000003135713174460247021026 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 31337, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 25, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "ietf.org.") (Type 255) (Class 1)], msgAN = [MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataSOA (Name "ns0.amsl.com.") (Name "glen.amsl.com.") 1200000348 1800 1800 604800 1800},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 6 5 2 1800 1524762969 1493223555 40452 (Name "ietf.org.") "P\143\164/\211\&9Cmr\144#p\138\f\131\ESC\220\RS\DC2\153v\209\SOHv\SOL\153\223\227\ETB\186\NAK\180\&9\189A\138}\160]\220!\212\244\t\131\DC2\176ag\RS_\136\250\233\159\&9\250\239\EM;\NAK_\156\171\212duq\194\211\211\207m0t\194;\246\222^m\249\189\252\131\210\189\175\ACK\144\199%\179J\206\190\139\ACK\220\230Y&\211&b\202'\227t\152\SYN\184\173\254\247\235X\243\197\&7\174\205\DELD<\231Gt\215o\228\ENQ\164\ESC\192~\166y1\232>n\202\217\252>\200\229\233\133\&7&\180\138\134\ETX\160\195\226\\\198\232\253\250@\154G\NUL\DC4\175\197\145\250\USa\143\DEL\149,\160._\DC2\162\216\242E\174:\"\236;\255\154\147\219iF\"\245e\236\&6\134$a\241c\217\DC1\193c\182O\160\238XL\203\230K\228\DC1\135\135\&7`Y\248\EOT2\156.\146\SUB\158\&4+\238\STX\142\182\164\FS\ACK&\143\186*F:@\222U\149"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataNS (Name "ns1.mia1.afilias-nst.info.")},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataNS (Name "ns1.ams1.afilias-nst.info.")},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataNS (Name "ns0.amsl.com.")},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataNS (Name "ns1.sea1.afilias-nst.info.")},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataNS (Name "ns1.yyz1.afilias-nst.info.")},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataNS (Name "ns1.hkg1.afilias-nst.info.")},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 2 5 2 1800 1524763120 1493223555 40452 (Name "ietf.org.") "\196-\224\241\235A5\213\186+\136\SUB\201\171\186f6Y\163\US\GS\211\152@R\154l\166\FS|\208\246F\251\185\180\SI\ETBR\130\131~\200\214\RSl\144\157\a\137\216\236\&0\ETX`\188\DC2\137t\ENQ\188A\255\144Uj\179\151\205\SO\197Kw6\169\157\133i\EMWA\GSo\135\224HP\US\174\243 \219\208\a\248\187\220\218\240\ACK!\132R\243\150\&2P\EM\180\161\ESC\179%\ETXiBx\149\160\156\155J\SOH\239f\201\213)\173\240qD:&)\146Kf\202\195\b\175\161O\220\DC2\213\\*\209\200\EM\228\173\208\163q\154\EM^s\138\191S9\191\232\170\181\232 \131\227\131\151e?k\DC1\173\205\f\197/\183y<\ETB\205\170\244\143\133\232l[\149\&1\SYN\202s\220\&3\135\173+\STX\136z)=d\226>\188\139\151T_?\USe+\EOT\196\SYNC\196\128\144Du~9A\136*\154\219V\DC2\195@\DEL\209>\135\182\150\131\149~\132a\141\138"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataA (IPv4 0x41fc62c)},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 1 5 2 1800 1524763086 1493223555 40452 (Name "ietf.org.") "]t\133\144\&7}\NULV^\200\165\FS\187[u:<_\238\172\&6\217(}\226\b]\151}ve\180\186)5\255\FS\ESCj?>_\202\226\210\185\165\202\128\v\173\204kn\SUB\242qm\\\203Ce'\242\222\228r\223\243;\ESCa\DC3\NUL\165\&6wAf\196\"\253\200\231\198\140\200a\227\&6K=?\v\FS\162\245lB\161\160\\\ETX\f\r\176M\218\134\US\176Fi\208\174\209\202P\160\DLEC*\200\&8\191ou\190\DC3\226\v\156r\144\DLE\171\&2r=\187\157\v\184\169\235\163\ENQm\242U\f v\aOmR\142\227K\v_\n\239\249\177\161\217\134\&0\250\208\221\130\DC3\136\189\139k\228\210.em,M&\237vU\227\214\193\US\148|\198\DC4|\128,\177}\133\144^+\148\143\&6\197B\ACK[\204\DC3`\147\134U\219\170#\132\199\183\196\154\179ZGQ\247)l\187\&2\SYNf\237\202p\241\253\230\145\251j\NUL\224\146=\ENQf\SI\180"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataMX 0 (Name "mail.ietf.org.")},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 15 5 2 1800 1524763100 1493223555 40452 (Name "ietf.org.") "\ENQ>\186\\\164\202\156\DC1\201\251i\187\244\236\&3\189\195?,4t(\165r\\p\221\195f_\186$8M\b\147L.n`v\248\167\&5\220\240\156\179\&9m\242<2/\203\229\168}2$k\231\NUL\247R\\\155K\186\134U\ETBg\165g\196\190|#\US\176\ACK\192\242\ETB,\FS\151\231\217\NAK\143z\194j\138\&8s\164\US\252\247i0\RS\201d\DC2\170}\204;\NUL\187\ETX\249\DC4\219\165zg\DC3\241\201\223mp\215Yb\176\242;w\137ZV\193\192\243\211\SO\157\235y<\DC2;<16n\190\202\147\152\133\206\144\203]\148\204\224\172X^\211\200\192\225\223\128M\169\192<\253W;E\241\EM\253W\173\225$\226\159\t\195\200\222^\242a\196!\176x\149l\251\141\227ya8:\197\STX0\238\230\DC2\DLE\187\175\DEL\209\188E\133\131\179(\147\214\130ta\ETBK\188uQ\178\199/\228\a.\NAKi\149\172\NAK-^au\ACK.\215j"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataTXT ["v=spf1 ip4:12.22.58.0/24 ip4:64.170.98.0/24 ip4:4.31.198.32/27 ip4:209.208.19.192/27 ip4:72.167.123.204 ip6:2001:1890:123a::/56 ip6:2001:1890:126c::/56 ip6:2001:1900:3001:0011::0/64 ip6:2607:f170:8000:1500::0/64 -all"]},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 16 5 2 1800 1524763104 1493223555 40452 (Name "ietf.org.") "\136\157Fpx\200\192\178J\227\"cT\254\180\217r{\216\228AQ\EMsM\253 \180,\248&\149\220\196:l\153\202+\SYN\224\CAN\156=\SO\174\241\168\254\215\181\180\194N+\171\197e\156\NULE\141EMPg\247[\DC3\202\SUB\248\180\EM\144K\SI\210\240\129hhi+G\204\SO\152A\221_F:\FS\253}\DEL|\141pk&\GS\160\130\254i9M\STX\162\231&\142\222fW\210A\149\221y\185{\GS\156\237!\212NI\DC2\144\226\197\146\vJ)\212\134l\SO\243\RSu\178'\181y\NAK#\224<\233\230\186^\253\222\208\215\SYN6\151]oI\189\172@\DC1\129\195ga\221\182\ENQ\189\164\244\191\173\163\247gCl\131\177\196\164\226\184D\229@\132s\131\161\162w\165\"2\164\168;\135\199\225\251\&7&\134\194\177g\153\rJ6\164\"\220\136\160g\207\129\184\200\167\ESC:\238\EM\154y\177\&2\242\246\238\149\228\DC29R/\211`vs"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataAAAA (IPv6 0x2001190030010011 0x2c)},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 28 5 2 1800 1524763044 1493223555 40452 (Name "ietf.org.") "F\221\216\166\163C\171\ESC\210N\225! \155%4%@\ENQ\251\170\179\SYN\187UJiQ\214\&6\169\b2\198qz\145gY\240^k\232\247$\237\&9\156D\169\CAN<\138\128O\174\171j\207\NAK\129\254NH`nlY\SUB\NUL\238\206\176\156\aN(\186\&9\199\198C\140g\EOT\179\210\232Tq\203)\226\160\218\163\&9\203\NUL\133\223\NUL4\239\181\133\DELgh\143o\146\157H\DLE\NUL\168yJwc2\201\"\254\230q\201\bei\185\197\230\156\141\GS;\159\204\176\"\242\ETB\210T\217\254\236#-'l\187t/#'\236\183 \174/\181\200\160\198\SYN\fw\153\244\207?F\v\NUL|,Q\133\176\185\212]\207\ETB\DC29\148j\189\229\229\177\DC3\219|\244\146\215\STX\208\DC4C+\139\192\"\130\150\192\149\175\188\196|o,\148%\154\v\135\224\172ko\228\v\233`~#\151p\128\147\134\170\235\133\208Ekl\245r7*t\254\193=?\180"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataNSEC (Name "ietf1._domainkey.ietf.org.") (fromList [Type 1,Type 2,Type 6,Type 15,Type 16,Type 28,Type 46,Type 47,Type 48,Type 99])},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 47 5 2 1800 1524763055 1493223555 40452 (Name "ietf.org.") "\ENQ\218r\154>Lin;\254\238F\NAK\ACK6\r\184-\192\237[\STX\250\184\&8\232\202\154b\t\204\129;\221\NUL\DEL\v*!8\178\169\201\ENQ_\199Yn\162\137\177$\a\159M[,\202U\DEL\155P c\254N\197\&7\233Y>)f\224}D\142\146\166\191\136\226)x\168\237I\133\194\233L\144c\DELU\185\255\158\DC2d\187\155\211~c\186\&7\169#\233\&0r\DC1\SYNg\181\196\179\141}V\ENQ\142\SUBW\165C\135\ETX\EMV\US\234%\243f3\213D\141\&1\DC2\195%\SYN\195\253\ENQ\239Q\a\245Z\RS\159'\223\159f)\185x\168\GS\a\195q@8?\190\150^\215$\140$\221\211\EM\144\246MK\vp\172+\158hE\135\254\b\164e\175\&1q\SYN\205\146|\178u\255\198\155\&8[\237\247\211\210\253\157A\222\FS\FSkHv\156\220\172!p7pv\174s\153\248\f\169BVY?\246\129b\250\255\DC4\174\238\EM\243h\237:`\146"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataDNSKEY 256 3 5 "\ETX\SOH\NUL\SOH\208\196\t\168\199i8\223J\131Sc\159\SYNp\SYN\161\212\FSO)R\a\a>\b|\184\223\168\203\226\186n%\128\171Jd\183\189\236\&8\t\231\243P\172\209\ACK\EM\t\171\233\242\175R>\187q\250\217R\136\217\217\193\145\139\&5a\130C\170g\219\FSi5W6\229\203\&3\148\240\237U\142T\135\RSyp.\184}\166<\136\132W\163!%\133,[\167o\152\219\t\225|\STX\128\216+\160\t\151\134\131\EOT\137a#\EOT\US\176\141\134P\228kY\FS\DC1JUp\STXId\226\n\215]\GS\203\158\&9\228\149>.V\US\222\NAK\150\230\225\GS\248\178\180\211\217.\179\155\133@\135O\169\&4\180\209:\166\DC2\232\RSu\214S\238\175\166\198)\207\161\161\&3\SI\209\244\DC1q[\147\221\170\166\195\159' B\201PZ\fq\191\193u\DC2\224o$\222\186\177e\159\ESC"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 48 5 2 1800 1524762971 1493223555 40452 (Name "ietf.org.") "R\220uL\178\139\238\216\181br\231\GS\128\250\205\243\&9d\165\185;Q\151\&6+n\a\148\169\152Fy(\244R\FS\131\ACK\137\229\167\199>R\RS\192\238\NAK\215\241m\"\200\174\132u\FS0C\DC4]\249\244\198.\138\221[K\164\SOW\SI\SYNcV\146\196\229#4\173\216\201^\128~\tHcSY\131\SI\229\238\191\GS\161\180zV\167]\216\216\163\CANb\211\ETX\\\SYN\234%\152\&4\231q\200H\129\245\253\224S\248\no\GS\195D\149&\ENQ\152HRi`\181\228\189\214\203\176\CAN\209&,o\239\222p\147\203\213o\163\179d\161\229\132\170\r\ENQ\251S\168M\232G\151\189\206\&7M';\SI\201\136\DLE\168\212m\200c\210-H\n0\ESC\157W\DELg\NUL\240\"XE\228\243W\236\170P\202\167U\ETXm\166\&9\162r\151\134\223\179\DC3=T\STX\158\180\226`\131S\DC3\235\199;\128B\149H\170\134\ENQ\253\156\166\141\236Z\161\228\186\175\DC3"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 48 5 2 1800 1524763006 1493223555 45586 (Name "ietf.org.") "X\165A\218{\a\DC1\163\238\178 =\153\220\241\150\231\ETX\164\230\FS\199\233\r\218\t5\ETX$\182B/^\215\235L\175GP\133\153\230#\204(\179-\243/\188\ETX\192=\148J\n)\160\a\247J\251\133\209\223-f\175\DEL\211\227\170\197\SOH\ACKo8\247_\DEL\189Gjf\251X\166\221\207\&7b\142k\208-g|\SO\169\128\f\221\139\130\181\128\185o\220g\151\219B%\204\v\237\129\&7\249\&4\149\217\205\209\160'=\211 \187\152i\213\213\192H\178\153\&2\161\181\128\189y\132e\136\DEL\235\244\180\207U\245C\128\207\230lf\187\196\128\&8\250\SUB\177\224^k\ETX\FS\195\&79M?\189\NUL\161\178\&5\183\228\DC3Bxy\244\221\153L\145\154~0\173o\130\160\155\213\254\&3\ENQf^\255\157\188\&1%\146\US|\232\SOH\n~\ESC\239d'=\245\&7\206\a\ETX\SO\245Q\ESC\227\242Vj2\182\175!\206\223%\231\ENQ\172`\222\b\209\EM\234\172\&2"},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataSPF ["v=spf1 ip4:12.22.58.0/24 ip4:64.170.98.0/24 ip4:4.31.198.32/27 ip4:209.208.19.192/27 ip4:72.167.123.204 ip6:2001:1890:123a::/56 ip6:2001:1890:126c::/56 ip6:2001:1900:3001:0011::0/64 ip6:2607:f170:8000:1500::0/64 -all"]},MsgRR {rrName = Name "ietf.org.", rrClass = Class 1, rrTTL = TTL 1799, rrData = RDataRRSIG 99 5 2 1800 1524762978 1493223555 40452 (Name "ietf.org.") "\b\DC2k\193\248\172\212\218\130l\131\247\202O\248\132\254\237\158\178\180\167\229X\184\v<<7\152\233\178v\172\220\161\158\171\232\254\165\NUL\147\FS\STX\251\&1\189Mc\230\194\197\192y\140\221tc\SYN\USC_>T:\STXF\135Z\225\&8\130\FS\ETBhZ\178Hc\GSS\171g*t}\255\137\146\217>@\230\232\141\176\SI\185\202\202Ad\EOTA\133\240Vk\204^7\212\158\&9\135\CAN\226\188!\145\129\132\213%\234\207\219\tTsN\135\178\SYN56\DC3q\216\192>,\197\194K\198\229e\132\231\b\232("},MsgRR {rrName = Name "nasa.gov.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataNSEC (Name "3D-Printing.nasa.gov.") (fromList [Type 1,Type 2,Type 6,Type 15,Type 16,Type 46,Type 47,Type 48])},MsgRR {rrName = Name "nasa.gov.", rrClass = Class 1, rrTTL = TTL 299, rrData = RDataRRSIG 47 8 2 300 1496749007 1494154805 34113 (Name "nasa.gov.") "\bG\199@\n~\164\158\155\214\EMa\130\134\160\184C\250\147\156z\197q\165\249\DC3\155\250\b\NAK\EOT>%%3\132%[\n\179\137vh\135\205]\SI[\187\181@\190\a\168\178qW\252\245\229F\177Wt\188\170g\133\211A\236\154\SOH\159V\DC4o\NULA\EM\200^\182+9\170tR\220\&5\236\152em\222\161Y\159\&7c\211y\162R\228y\128,dz\156#jR\168&\214^\166\147\227\223\170\135\131b\156\226"},MsgRR {rrName = Name "nasa.gov.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataDNSKEY 256 3 8 "\ETX\SOH\NUL\SOH\188\&6\253\240\DEL\139M\ESC\154>W\159._q=\206\151\215\162\"\182M\218\218\rj\171\188A\172\197\170\213k\171\238\SO\206a\171\145\144\185ZH\235\212\145\&7SN\133\156]6R\DEL\141\216\236g\128\222\159G\ESC\205z\"A\176]\216\&35hB\221\187\248Qd\146\ETBt\221\151\168\EMg\159\156x\155\218\148\&8\143DC8\223\136:3\202=\226\198=\157)b\169\172R\128\175\DC4V\216\232\192\232\EOT\231\203"},MsgRR {rrName = Name "nasa.gov.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataDNSKEY 257 3 8 "\ETX\SOH\NUL\SOH\193\145\233\ETB\182\"R\233g\EM2\179\191\171\161h\159\143*\247\169q/\142&\SYNM\202V\224\SO\221\133\178U\223\DC3\175\158t9\220\128\ENQP=\FS\209,\133\130\159s\227\136e\234\195\136\ACK\140H\ETB\231\176\DEL\147\252c\SOF\FS\151\174\172v\140\&8U\139\137y\228\b\EOT4\DC2\136\174\255F\205\SO9\187a\190Q\ETB\234\182\DEL\ETBm\NAK\209y[:k\150\161\DC4>\134\131\ETB\245\167\199\134\226\244\222\214G\222D\129&\DC4\195\NAK\RSr\188\174\195D\217\129A\236 \DC4\NUL\200qzAwt\210\180\ETB\160|/,\167\"\193\137\188\154\185\165\DC2^]l_Qq\ETB\166\242 P\154\208Zm\SYN\\\229@\229\154F\229T@\254\&8\220\134t\237\156\220|\SOc\EOT\239\SI\240\FS\\']\185\157L\190\206\133\130\208\162\143\220\156\180\152y\US~\STX\207\EMA\173\235\ENQ+8\DC1#\236\ETB\162\161\"\f\SOH\168\177\180\201\138\t\STXv\133"},MsgRR {rrName = Name "nasa.gov.", rrClass = Class 1, rrTTL = TTL 599, rrData = RDataRRSIG 48 8 2 600 1496750400 1494154800 34113 (Name "nasa.gov.") "R\166/W\NAK\SYN\253e\153\EM\142\201m\170\246\205g%\230\\I-\134\251T\170\228\154\221P1\DC1\NUL\223\234\245\171\243\190:\225\133\218\&4\247\195\ACKU\180\NAKJ\147\140x\155O\250VK\155\205\201\&3\137\&1=\180\153\170A\229f\SO\ENQ\164\SOU\221\\\178RM\DEL8\217\146\245D\161r\182\140[6\247\164,qX\202\247X\173\193x\222\210!9i6n \192 \196@u\177fi&4\209b=\225\196\248\160\223\nT\250\131\254\183\254\221\202\RS\140|\134\171\252\EM,\225\234\199\247\DEL\149/\189\152\214\215\218\186\240\&2[P\152\208\180\US"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataNSEC (Name "www.example.com.") (fromList [Type 1,Type 2,Type 6,Type 16,Type 28,Type 46,Type 47,Type 48])},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 2 8 2 86400 1495006082 1493148678 21214 (Name "example.com.") "\a\223\141iM\f\bo\160\139\192`\255Y.\166VO\178\DLED\161|8\STXB\252\SYN*\164\129\ESC5\DC3\v\\ZV?U\216\135\DC3\f\248M#\SYN\142\164\143\217X\233\ESC\159\NUL_\DC4n(\157w\FS~\145R\178\166\229J(\159\209\184|\251\220\238\237SO\139\209\147\220\&0Xv\165\201\GSH \251\&2\135\154J\194\ETX\199' \RS\132bb\243\148E\168\158\172\US\228\ACK\241\174\169\201\239\225\243\&6\DC1\255](\153\161"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "a.iana-servers.net.")},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataNS (Name "b.iana-servers.net.")},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 28 8 2 86400 1494925308 1493148678 21214 (Name "example.com.") "\DC4\224\&0\233w\r&>\182\142\167\220\207t\ENQ\US\243\149\128\230u'P\233j\164\248U1\NAK\182\146\235&\ACK\DC4-l\163,\191n\153\248\r\ESCH\229\134\209eh\163\132\169\247\ETB\234\DC4\176\239\187\208w\US(\220\242\&5DpoD\207\167\r\GS\169\ENQDd\152\ETB\179\226xG\217\ETXm\177\196\182\215H\255\221\v\DLE\179\226\GS\SOH\171\167\174\155XX#q]\164*\DC3m\195\175\227\205 \187\140\213\154\250Ea\253z\STX"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataAAAA (IPv6 0x2606280002200001 0x248189325c81946)},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataRRSIG 1 8 2 86400 1494974036 1493148678 21214 (Name "example.com.") "\DEL\147H\248t\140@\163\130\DC2\DC1\200\217\225\190\140\132\t\197\197C\164y\223\ENQ\228\195\201\153L\SYN$\179\177EE<\ACK`u\188F9\199[\165\171\177w\192\188l\159\229i\169\254\&4Q.\ACK\214\188\196\166\191AV\255\SO\232\&7,\225V5\255\NUL\186V\246\198\159\&4\164p\243\168+?rz\a\234l,B\208\224C\EM\142\221\181qw\154\164/&\144]\a>\188\223\&9\142h-3\STX\170\231\183Kr\164a\205\228"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 86399, rrData = RDataA (IPv4 0x5db8d822)},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 59, rrData = RDataRRSIG 16 8 2 60 1494968390 1493148678 21214 (Name "example.com.") "\149\vd\208\136+H\224\213\r\246\&2\CAN#\251\233q\SYN\157\220j@2/\157\242\215\173y\ETB\154\135\199\209R\253\\1\DC3Sof\139\143\229\251p\139O/\209\199\US\ACKL\138A+\134\a\187\145\222!n[\252\227L,\NULkj_\219K\163x\252_1\175\161\212.V\CAN\193\215\197\218\248\162\178\&1US\144NY\216#c\230\252\247'\135\160\237j\EOTf\152J\b\SOS+\213\242\SUB.}`@\130\133nm\225"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 59, rrData = RDataTXT ["v=spf1 -all"]},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 59, rrData = RDataTXT ["$Id: example.com 4415 2015-08-24 20:12:23Z davids $"]},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 48 8 2 3600 1495402611 1493547398 31406 (Name "example.com.") "&\236\\[/n#V\ENQ^\212\n\240\156\239\162\DELQ\211\241w\135\&9o\253\132\218\184s\218\210vn\180C\SI\255\SO\141<$\"\214r\141\n\173\223\248CCP'\132d\NUL,\DC1Q\134J\209\239\f\197e8\145->d\150\232=\153\191\&1\198\139\219\NAK\SUB\231\211\149t;\147[G\211C\190E\177,\GS\ETX\SOa\140\193\166\ETX1\248\EM\200#\\\130\231qF\177\230\140\243\164\SOD\162\201\165b~|\am\242\206j\197\STX\239\250\168\251~\USk\SOT\195Tbl3\136o\162\164\172\158!\128e\215y)\184\162zW\199V\246x\160\233\207S*s\ESC\240\203\&6\174|[\GSmz\NUL\249H\RS>\233\132\f[\ENQ\147\148Q\DLE\DC3\142\208c.\147t\133\229\140\rwTG\179\&4\ETB|&\163KP\a\182\178\174:b':\140o\DC2\f\143\167.S\143\FS@g\187?\209\132`Qf\FS\199\196\148\194\tX\233\166"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 48 8 2 3600 1495402611 1493547398 45620 (Name "example.com.") "\ETXNp\\\169\139\179\160\GS\DEL\225\247F\ACK\207\199M\197\218s\CAN\140B\194\199\218\SI*-\194\172\245\195d7\DC3\USa\236Q\225l 2E|\242\n~J\rq\234\175X%+\196y\189\&4\218\143vl\151\152\212e\223\134\135\145\166\226\201\213H\221V\254\216\177\242s\SYN\148?\192[\152\168\240\SI\130|\154\ACK~b\224wl\DC1g\236\b\149z\150a\SYN\\(\207\a\250\&8\154g\ETB\200\US-g`\EOTm\230$Jn\235\152K\222^\STXSf\136\130\CAN\248\170\179Y\243\152\&1y\143\DEL\\*]\r\SYN;\f\DC3\224~\ACK\150\214\130E\158\182\186\v\191j\131=\244\161/[\DC4\234ya\242\248\STXs\220\225K\203nM\v\241\252v\213\221\135\133\153,H8Z\138\DC4A\188\178`\136L\245\208\245\145\210c\t\154\159\244\146\"E\134\162\174\192\250\135\143$\143KT.\249}\SO\212R\215\140\214\153\DLE1r\247B\GS\161"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataDNSKEY 257 3 8 "\ETX\SOH\NUL\SOH\179\133\ETX\EM~.KtP\200%f,\202\DLE-@\197K\188\206X\250\228\166\SUB\181\RSp\ENQc+\135_\DC3c2\191\138\SO\152\214\222XM`\142\235\198\242\158\138\233\&6\239_\168\209@-~\219V_\DEL\131&\192\210\253\EOT\132_\157\129y\168Q\244W\238K\f\SUB\NULo\181\246\182\253\143Z\222IW4\186\164N\204\200C\131\196\&1P\163\182\188\165\215\208^\247\243\228\NAK\224\189!8\224\&1\DC4,B\EM\129\223\215\178\&1\137\218\151\231\247mLJ\147\135\234\237\203\132SG[F\155\158\224\DEL\205\234\&3\238qu\142\194#\NUL\145\&2a\130\SUB\160\203\234=\NAK\242)\250\212\DELzb\154\163\222?\194\149W\r\195\223\228\GS|\143\188s\217+\211O\CAN\174\168,\194\&2\219\&1\158)\EM\GS\202!\214> \249\141A\243\&2\f\"\250\196\&3\234Y\SUB\CAN\DELb\231\248G\NUL\129\129\166\STX\139\216i\136\197\149\189.\SYN\a}\217A\CANV\"\150\188ze\169X\248\147W\ESC*\162\DLEB\212'\230\228Q\128\218\162\252\233.L[ob\220\218{\ENQq\200\174\219\248z\190\216\227\156`K\ACK|\\!\DC4vbu\213W7\n|\174\USZK\139F\a\178\206\&5"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataDNSKEY 256 3 8 "\ETX\SOH\NUL\SOH\169\210\128a\180\148\180\210W\214,\198\215\161\155\158\247\ETB\140\198l\223\200\157\181\187s\250\228\NAK\205Z\173t\251\ETX\246\234a\254SV\196HDL\SUBK'KH\221|\176\223\178+\219\237\247h\179Y\175\144y\171)\132\203N\221\160\&4\227\190\140\137\f\227\170g\142\161tw\247\ab\230b\169\238\211\218\191\161\145\183\196\134l\FSY\241\150\134\131\SUBc\240\140\DLE\243\172\FS\SO)\144\211\FSH\160\225\224\ETX\217\238\SO\142\233"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataDNSKEY 257 3 8 "\ETX\SOH\NUL\SOH\157\SUB\170\237k'\170+')\235E\243i>f\178%\154\NUL\199\210\FS\219\244e\245T\SYN,\193\242\143\FS^\155uTJ\131T U\196E\ACK\227\208\SIN\130\157\&3\f\207X!\199\n-\ETBz.e\162\f+{P\148\&1U\208\254\133\230\249\DC1\206*\150\161\166\201\DELL\r\166\228\189}\141\188\204,Q\231\ESC`\SUB\188\161w\147O\210\209\152%-\244\165-\253c\162\232\&2\132\v\SUB\ACK\253\181\147\202J\215\200\DC4|zP\254I\ACK8\220\224\NAK\142U\171V[G\198\nx\254\184A\n\244[\153\215\229\186v\143\"\v\182\237\225\&6S\137\178\r\"\211\241\174\NUL\210\176y\184q\184>C\154\245\210\DC1\179\220\180\208\205\166Y\254%\200\247\158\238\248\185}\236\&6u\182\178\GSy\162xg\SUB\NULz\241\239\163F\NUL\NUL^c\DELw\198\&9f\f\215\DC4\144]`\164\213\148\149\174\USY\150\219i\132\&3\ETX\221\230-\218\231\131\227"},MsgRR {rrName = Name "example.com.", rrClass = Class 1, rrTTL = TTL 3599, rrData = RDataRRSIG 6 8 2 3600 1495444812 1493601562 61845 (Name "example.com.") "t\209\CAN\EOT\EOT\GSwz\237\DC3x\151!\151\255\215\145\CAN\189l\233uxt &\218\137\ETB\205DU\RS\166\240\&7x8\246)\176>\138O\187j\215\148\250\142\213h\160tCR\208|zV&\167\243\130Y\233'\NAK\160k\184\209\SYNFZH\224]\138\235\181\253\219<+=\154\143jo2\213d\237\206\207\NULAY\151\130\f\nD;\137\ACK_\141\240vW\148i\196/\v\DC1s\221Sl\241Y7\STXy(Z9\209"}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 32768, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/e9036c06fc30e6d7582fe9e5238cb718.show0000644000000000000000000000207313174460247021203 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 52146, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 4, mhNSCount = 0, mhARCount = 1}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 1) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 2306, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.", rrClass = Class 1, rrTTL = TTL 7192, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.", rrClass = Class 1, rrTTL = TTL 891, rrData = RDataCNAME (Name "e1863.dspb.akamaiedge.net.")},MsgRR {rrName = Name "e1863.dspb.akamaiedge.net.", rrClass = Class 1, rrTTL = TTL 11, rrData = RDataA (IPv4 0x5c7ab450)}], msgNS = [], msgAR = [MsgRR {rrName = Name ".", rrClass = Class 512, rrTTL = TTL 0, rrData = RDataOPT ""}]}resolv-0.1.1.1/testdata/msg/f07dc1a95f1663525bf32957288adb78.show0000644000000000000000000000206313174460247021121 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 56182, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 3, mhNSCount = 1, mhARCount = 0}, msgQD = [MsgQuestion (Name "www.microsoft.com.") (Type 15) (Class 1)], msgAN = [MsgRR {rrName = Name "www.microsoft.com.", rrClass = Class 1, rrTTL = TTL 3342, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.", rrClass = Class 1, rrTTL = TTL 20129, rrData = RDataCNAME (Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.")},MsgRR {rrName = Name "www.microsoft.com-c-2.edgekey.net.globalredir.akadns.net.", rrClass = Class 1, rrTTL = TTL 785, rrData = RDataCNAME (Name "e1863.dspb.akamaiedge.net.")}], msgNS = [MsgRR {rrName = Name "dspb.akamaiedge.net.", rrClass = Class 1, rrTTL = TTL 823, rrData = RDataSOA (Name "n0dspb.akamaiedge.net.") (Name "hostmaster.akamai.com.") 1494154901 1000 1000 1000 1800}], msgAR = []}resolv-0.1.1.1/testdata/msg/f3110fafd49cc625b0cc29e99d82ec79.show0000644000000000000000000000114213174460247021412 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 62613, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "c.f.f.c.7.f.e.0.0.6.b.7.5.a.4.0.4.0.1.0.5.2.8.7.1.0.8.4.1.0.0.2.ip6.arpa.") (Type 12) (Class 1)], msgAN = [MsgRR {rrName = Name "c.f.f.c.7.f.e.0.0.6.b.7.5.a.4.0.4.0.1.0.5.2.8.7.1.0.8.4.1.0.0.2.ip6.arpa.", rrClass = Class 1, rrTTL = TTL 785, rrData = RDataPTR (Name "ghc.haskell.org.")}], msgNS = [], msgAR = []}resolv-0.1.1.1/testdata/msg/fc9b623aa6ba4673b84145ab0899a3bd.show0000644000000000000000000000101313174460247021310 0ustar0000000000000000Msg {msgHeader = MsgHeader {mhId = 15722, mhFlags = MsgHeaderFlags {mhQR = IsResponse, mhOpcode = 0, mhAA = False, mhTC = False, mhRD = True, mhRA = True, mhZ = False, mhAD = False, mhCD = False, mhRCode = 0}, mhQDCount = 1, mhANCount = 1, mhNSCount = 0, mhARCount = 0}, msgQD = [MsgQuestion (Name "4.4.8.8.in-addr.arpa.") (Type 12) (Class 1)], msgAN = [MsgRR {rrName = Name "4.4.8.8.in-addr.arpa.", rrClass = Class 1, rrTTL = TTL 86285, rrData = RDataPTR (Name "google-public-dns-b.google.com.")}], msgNS = [], msgAR = []}