Skip to content

Commit ee0d088

Browse files
committed
happy new year
1 parent ad284cf commit ee0d088

File tree

8 files changed

+497
-43
lines changed

8 files changed

+497
-43
lines changed

CHANGES

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
1.2.0 2015-01-01
2+
- Happy new year and add a new filter strategy
3+
14
1.1.9 2014-12-26
25
- One Chinese DNS and one foreign DNS requirement is only a warning now
36
- Update iplist

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ChinaDNS-C
22

3-
Copyright (c) 2014 clowwindy
3+
Copyright (c) 2015 clowwindy
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+24-19
Original file line numberDiff line numberDiff line change
@@ -80,25 +80,28 @@ Usage
8080

8181
Test if it works correctly:
8282

83-
$ dig @192.168.1.1 www.youtube.com
84-
Server: 192.168.1.1
85-
Address: 192.168.1.1#53
86-
87-
Non-authoritative answer:
88-
www.youtube.com canonical name = youtube-ui.l.google.com.
89-
youtube-ui.l.google.com canonical name = youtube-ui-china.l.google.com.
90-
Name: youtube-ui-china.l.google.com
91-
Address: 173.194.72.102
92-
Name: youtube-ui-china.l.google.com
93-
Address: 173.194.72.101
94-
Name: youtube-ui-china.l.google.com
95-
Address: 173.194.72.113
96-
Name: youtube-ui-china.l.google.com
97-
Address: 173.194.72.100
98-
Name: youtube-ui-china.l.google.com
99-
Address: 173.194.72.139
100-
Name: youtube-ui-china.l.google.com
101-
Address: 173.194.72.138
83+
$ dig @192.168.1.1 www.youtube.com -p5353
84+
; <<>> DiG 9.8.3-P1 <<>> @127.0.0.1 www.google.com -p5353
85+
; (1 server found)
86+
;; global options: +cmd
87+
;; Got answer:
88+
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16179
89+
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
90+
91+
;; QUESTION SECTION:
92+
;www.google.com. IN A
93+
94+
;; ANSWER SECTION:
95+
www.google.com. 215 IN A 173.194.127.50
96+
www.google.com. 215 IN A 173.194.127.49
97+
www.google.com. 215 IN A 173.194.127.48
98+
www.google.com. 215 IN A 173.194.127.52
99+
www.google.com. 215 IN A 173.194.127.51
100+
101+
;; Query time: 197 msec
102+
;; SERVER: 127.0.0.1#5353(127.0.0.1)
103+
;; WHEN: Thu Jan 1 02:37:16 2015
104+
;; MSG SIZE rcvd: 112
102105

103106
Currently ChinaDNS-C only supports UDP. Builtin OpenWRT init script works with
104107
dnsmasq, which handles TCP. If you use it directly without dnsmasq, you need to
@@ -117,6 +120,8 @@ Advanced
117120
-l IPLIST_FILE path to ip blacklist file
118121
-c CHNROUTE_FILE path to china route file
119122
if not specified, CHNRoute will be turned off
123+
-d enable bi-directional CHNRoute filter
124+
-y delay time for suspects, default: 0.3
120125
-b BIND_ADDR address that listens, default: 127.0.0.1
121126
-p BIND_PORT port that listens, default: 53
122127
-s DNS DNS servers to use, default:

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.67])
5-
AC_INIT([ChinaDNS-C], [1.1.9], [clowwindy42@gmail.com])
5+
AC_INIT([ChinaDNS-C], [1.2.0], [clowwindy42@gmail.com])
66
AC_CONFIG_SRCDIR([src/chinadns.c])
77
AC_CONFIG_HEADERS([config.h])
88

0 commit comments

Comments
 (0)