| OpenDNS - Treoir Gearr do Usáideorí Debian | OpenDNS - Quick Start for Debian Users | 
| Tá na treoracha seo níos giorra ná na cinn Gentoo.De gnáth, caithfidh tú /etc/resolv.conf a chur in eagar, agus deimhnigh ní athróidh rud ar bith é. Ach tá muid ábalta an stuif sin a fhágáil ar lar mar bheidh muid ag suiteáil pdnsd mar taisc DNS. Nuair a shuiteálann Debian pdnsd, déanann sé an stuif eile sin. | These instructions are a lot shorter than the ones for Gentoo users. Normally you would have to edit /etc/resolv.conf, and make sure that nothing will overwrite your changes. However, we can skip all that because if you're using OpenDNS, you'll probably want a local DNS cache so your computer doesn't have to go back to OpenDNS for subsequent queries. I used pdnsd. When Debian installs pdnsd, it does that other stuff for us. | 
| 1. Suiteáil pdnsd. | 1. Install pdnsd. | 
| aptitude install pdnsd | |
| Roghnaigh "manual" mar "pdnsd configuration method". | When asked to select the pdnsd configuration method, choose "manual". | 
| 2. Cumraigh pdnsd. | 2. Configure pdnsd. | 
| Cuir an roinn "server" in eagair mar an sampla seo a leanas. Scrios an /* roimhe sin agus an */ ina dhiaidh sin. | Edit the "server" section in /etc/pdnsd.conf, following the example below. Be sure to uncomment it by removing the /* before and the */ after it. | 
| server {
label = "root-servers";
root_server=on;
ip =  208.67.222.222
, 208.67.220.220
;
timeout = 5;
uptest = query;
interval = 30m;      // Test every half hour.
ping_timeout = 300;  // 30 seconds.
purge_cache = off;
exclude = .localdomain;
policy = included;
preset = off;
} | |
| 3. Tosaigh pdnsd. | 3. Start pdnsd. | 
| /etc/init.d/pdnsd start | |
| Má bhfaigheann tú teachtaireacht mar "Could not bind tcp socket: Address already in use", b'fheidir go bhfuil named ag rith. Stop é le killall named. | If you get messages such as "Could not bind tcp socket: Address already in use", you might have named running. Stop it with killall named. | 
| 4. Deimhnigh go feidhmíonn sé le ceist úr. | 4. Verify that it works for fresh queries. | 
| dig www.opendns.com | |
| Seo toradh ceart: | The result should look like this: | 
| ; <<>> DiG 9.4.2-P2 <<>> www.opendns.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7419 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.opendns.com. IN A ;; ANSWER SECTION: www.opendns.com. 30 IN A 208.67.219.101 ;; Query time: 927 msec ;; SERVER: 208.67.220.220#53(208.67.220.220) <-- OpenDNS server ;; WHEN: Sat Nov 15 18:46:44 2008 ;; MSG SIZE rcvd: 49 | |
| 5. Deimhnigh go úsáidtear sonraí thaiscthe le hathceist. | 5. Verify that it uses cached data for repeated queries. | 
| Eisigh an ceist céanna dig (dig www.opendns.com) faoi dhó, agus breathnaigh ar an líne ;; Query time:. An darna uair ba cheart do beagnach ar an toirt mar tá an eolas sa taisc cheana féin. | Run the same dig query (dig www.opendns.com) again, and look for the ;; Query time: line. The second time it should be nearly instantaneous because the information is already in the cache. | 
14 November 2010
OpenDNS - Treoir Gearr do Usáideorí Debian
Subscribe to:
Post Comments (Atom)
 
 
 
 Posts
Posts
 
 

No comments:
Post a Comment