dns

What is the IPv6 alternative to socket.getfqdn in Python?

socket.getfqdn() works fine with IPv4 addresses, for example: >>> import socket >>> socket.getfqdn("8.8.8.8") 'google-public-dns-a.google.com' However, it doesn't work for IPv6 addresses. >>> socket.getfqdn("2404:6800:8004::68") '2404:6800:8004::68' >>> socket.has_ipv6 True How can I do this with IPv6? Ideally with only modules in...

Webmail and domain. I need a solution to this problem.

Hi! Im hoping you geniuses here at stackoverflow can help me with this. Recently i had to point my domain name to a network on Ning.com to map and merge the site with the domain, so i had to add an A and CNAME record. This disconnected the link between my domain and my web host and because of this my friends cant access their email any...

How to add a DNS alias programatically?

I want to create an alias record in Microsoft's DNS server to point AliasA to ComputerA. How can I do this programatically? ...

Any API to search a list of domain names?

Assume there is a list of domain names but you dont know whether they are taken by someone else. Assume that the list is too big that you dont want to manually type in each word and see if the domain name is available or not. How would you get around this issue? Is there a public API by a company that we can use in our program and see th...

Core of Windows Server name server system

Hi all, I am trying to find some info about the nature of name server in Windows server, like BIND stands for Unix or Linux, for instance. Does anyone know where can I find some tech info about the based system of a name server in Windows? Does it use a file based configuration? Thanks in advance. ...

Domain name transfer between registrars

Hi, We frequently take over the domain names of our clients when we take over the management of their site. Normally the transfer progress goes fine. However sometimes we have issues with DNS settings during the transfer progress as the transfer involves moving the DNS records to our registrars nameservers. It seems to be that the outg...

Subfolders in subdomains

I have a site: myname.host.com I have a domain: www.myname.nl I have some subfolders for different subsections but also completely unrelated websites. How do I make sure in the DNS setup that: blog.myname.nl gets me to myname.host.com/blog/ blog.myname.nl/archive gets me to myname.host.com/blog/archive blog.myname.nl/randomfolder get...

Bind DNS host pointing name servers to different IPs

Okay, at the moment i have my domain's host file which was generated by the Webmin control panel. I have a box to myself with several IPs and i want to make use of more than one. I don't fully understand everything to do with host files but I know enough to get by. Can anyone suggest how i would go about changing the below host file to m...

Crazy question about website landing

Is it possible for crook to redirect website site/landing to your domain to elsewhere? Say, a visitor's intended website is, knowledgenotebook.com, but the crook redirected the user to google.com or yahoo.com or anything else? And doing so randomly, so, it can try to avoid detection... Thanks. ...

Domain Name Server on Windows for locally hosted websites

I have a half-dozen domains (with associated domain names), hosted locally on Windows/Apache and accessible to the wider internet. At the moment, the name servers are provided by my domain name register at extra cost. I would like to host a domain name service (on the same machine as is hosting the websites). I have tried BIND withou...

iptables blocking DNS server

I'm trying to configure my server to allow incoming DNS queries. The default server, as setup by the hosting company, permits traffic on ports 443, 80 and 22. I have modified the iptables file to try to permit requests on port 53, but I am not getting any response from BIND. Turning off the firewall permits the DNS request to go through...

What is my internet accessing IP

I have two lan cards installed in my pc. One is for internet connection and another for share the internet to client machines. I am getting my IP with this code: IPHostEntry HosyEntry = Dns.GetHostEntry((Dns.GetHostName())); foreach (IPAddress ip in HosyEntry.AddressList) { trackingIp = ip.ToString(); textBox1.Text += trackingIp...

Is there a way to redirect Post requests preserving post data or an alternative?

Hello, I am setting up a CDN relying only on Header redirects or temporary URLs served by an API controlled by a Database cluster. The Goal is to reduce hardware costs and have flexible nodes with only FTP/HTTP/PHP as requirement and create a cheap solution for websites that can work with this. Howevery my Problem is that i want to hav...

Fastest way to resolv 100 million A-records in Python

I have a list with 100 million domain names like www.microsoft.com and would like to resolve the IP-number to www.microsoft.com Running a local pdns server and query localhost using Python adns? ...

When I move a WordPress blog, what do I have to change (database/file) to have the site test-run without changing the DNS?

i.e. http://xx.xx.x.xxx/wp-login.php redirects to blog at existing site www.my-blog.com ...

Slow response from getaddrinfo on EC2

I have an ec2 instance used as LDAP server with the following example DNS names assigned by Amazon: Public DNS: ec2-123-231-312-132.compute-1.amazonaws.com Private DNS: ip-10-11-12-13.ec2.internal The instance has 123.231.312.132 public IP address and 10.11.12.13 private IP address respectively. I have also set external dns records ...

How to set my own DNS server

Hi, I'm not sure this is a right site for this kind of a question but I decided to give it a try... Well, I have a new server running on its own IP address with Plesk installed. Plesk provides me a primary DNS server and I would like to set my primary domain (lets say domain.com) as a nameserver, I understand I have to do this in regist...

How to understand iphone DNS behaviour

Hi, We recently made a change to our DNS settings, which coincides with our iphone app breaking. The old DNS settings should still work fine, i.e it should be a seamless switchover. In a browser, the site appears Over 3G, the server appears unreachable to our app (hard to provide more info, iphone build was outsourced) over wifi, the ...

Why is cURL reporting an invalid IP address as an error?

I have the following PHP code that uses cURL: $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,"http://area51.stackexchange.com/users/flair/31.json"); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); $a_data = json_decode(curl_exec($ch)); echo curl_error($ch); I then get the following error when I try to access the page over HTTP: Fail...

Windows host name resolution

I was wondering how the windows host-name resolution system works. More precisely I wonder about the use, or lack thereof, of local caching in the process. According to Microsoft TCP/IP Host Name Resolution Order, the process is as follows: The client checks to see if the name queried is its own. The client then searches a local Hosts ...