GithubHelp home page GithubHelp logo

java-dns-client's Introduction

DNS Client written in Java

Description

Can make requests for A (IP addresses), MX (mail server), and NS (name server) records

Query structure:

Java DnsClient [-t timeout] [-r max-retries] [-p port] [-mx|-ns] @server name

  • timeout(optional) gives how long to wait, in seconds, before retransmitting an unanswered query. Default value: 5.
  • max-retries(optional) is the maximum number of times to retransmit an unanswered query before giving up. Default value: 3.
  • port(optional) is the UDP port number of the DNS server. Default value: 53.
  • -mx or -ns flags (optional) indicate whether to send an MX (mail server) or NS (name server) query. At most one of these can be given, and if neither is given then the client will send a type A (IP address) query. server(required) is the IPv4 address of the DNS server, in a.b.c.d. format
  • name(required) is the domain name to query for.

Examples

Java DnsClient @132.206.85.18 www.mcgill.ca

Java DnsClient –t 10 –r 2 –mx @8.8.8.8 mcgill.ca

java-dns-client's People

Contributors

callumdmay avatar asherwright avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.