Skip to content

This project demonstrates how Perfect parses an IPv4 address from a valid domain name.

License

Notifications You must be signed in to change notification settings

PerfectExamples/DNS-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perfect DNS Parser Demo 简体中文

Get Involved with Perfect!

Star Perfect On Github Stack Overflow Follow Perfect on Twitter Join the Perfect Slack

Swift 3.0 Platforms OS X | Linux License Apache PerfectlySoft Twitter Slack Status

This project demonstrates how Perfect parses an IPv4 address from a valid domain name.

Ensure you have installed and activated the latest Swift 3.1 tool chain.

Quick Start

Try the following bash commands in a terminal then you can download & build this demo

$ git clone https://github.com/PerfectExamples/DNS-Demo.git
$ cd DNS-Demo
$ swift build

To check the demo result, grab some domain names and run the command line:

$ .build/debug/dns [domain name 1] [domain name 2] ....

For example, try this command below to parse ip address from perfect.org and treefrog.ca:

$ ./.build/debug/dns perfect.org treefrog.ca
./.build/debug/dns
perfect.org 65.39.133.132
treefrog.ca 23.92.17.203

Issues

We are transitioning to using JIRA for all bugs and support related issues, therefore the GitHub issues has been disabled.

If you find a mistake, bug, or any other helpful suggestion you'd like to make on the docs please head over to http://jira.perfect.org:8080/servicedesk/customer/portal/1 and raise it.

A comprehensive list of open issues can be found at http://jira.perfect.org:8080/projects/ISS/issues

Further Information

For more information on the Perfect project, please visit perfect.org.

Now WeChat Subscription is Available (Chinese)

About

This project demonstrates how Perfect parses an IPv4 address from a valid domain name.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages