mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-28 19:55:20 +08:00
Merge branch 'master' of github.com:opennamesystem/opendig
This commit is contained in:
@@ -6,7 +6,9 @@ Command-line tool for Open Name System (like dig is for DNS)
|
||||
Installation
|
||||
=======
|
||||
|
||||
> $ sudo pip install opendig
|
||||
```
|
||||
$ sudo pip install opendig
|
||||
```
|
||||
|
||||
Command-line Usage
|
||||
=======
|
||||
@@ -30,11 +32,12 @@ print dns_resolver('startupboy.com')
|
||||
Configuration
|
||||
=======
|
||||
|
||||
OpenDig comes with pre-configured default servers 8.8.8.8 (Google) for DNS and 162.243.253.65 (OneName) for ONS. We *strongly* recommend using a local config file, and using servers of your choice:
|
||||
|
||||
> touch ~/.opendig
|
||||
> vi ~/.opendig
|
||||
OpenDig comes with pre-configured default servers 8.8.8.8 (public DNS server by Google) and 162.243.253.65 (public ONS server by OneName). We *strongly* recommend using a local config file, and using servers of your own choice:
|
||||
|
||||
```
|
||||
$ touch ~/.opendig
|
||||
$ vi ~/.opendig
|
||||
```
|
||||
A sample config looks like this:
|
||||
|
||||
```
|
||||
@@ -51,4 +54,4 @@ port = 8332
|
||||
user = opennamesystem
|
||||
passwd = opennamesystem
|
||||
use_https = True
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user