Monday, 22 August 2011

Arabic DNS

     we can use Arabic domain name in web browser to access Arabic web sites, and this is called from the ISP's as Arabic DNS, even i believe it is not Arabic DNS as much it is an Arabic Browser Address Bar from Web Browser, like IE. and Mozilla.

for my example i am going to let  الاردن.سمير  points to IP 172.22.10.49

to do this we need do the following:

1- #vi /etc/named.conf

zone    "xn--wgbd8cua"        in      {
        type    master;
        file    "forward.zone1";
};

2- in /var/named dirctory, add:

vi  forward.zone1

$TTL    86400

@               IN      SOA     mail.sun.jo     root.mail.sun.jo        (     //// this is the name of my DNS server ////
                                                200905092
                                                3600
                                                1800
                                                6048000
                                                86400   );
                IN      NS      172.22.10.49
xn--igbhzh7gpa          IN      A       172.22.10.49

3- pkill -HUP named

4- in mozilla:

    a- open new tab write in it (about:config)
    b- right click -> new -> boolean
    c- network.IDN.whitelist.xn‐‐mgbayh7gpa in the name.
    d- false


and now when i right الأردن.سمير every thing work fine







No comments:

Post a Comment