dns

How to implement OpenDNS style proxying of web traffic

I have a requirement that I believe may be impossible and wanted to confirm this with experts in this community. A client wants us to configure a DNS server to point all non-whitelisted domains to an IP address of a server on the internet. This server should forward / redirect all non-http traffic to an IP address associated with the re...

PHP and Round Robin DNS: Cache interfering?

Sketch: I have the following situation. "host.domain" is a Round Robin DNS records which points to 3 IPs (ie: 10.0.0.2, 10.0.0.3, 10.0.0.4). The servers behind it, are SMTP servers for handling outgoing mail. If I use PHP Pear's "Mail" package, and use the smtpinfo to set the host to "host.domain", I can not seem to get any other retu...

C# - is there a way to flush the DNS cache from a C# WPF app? (on XP, Vista, Win7)

Hi, Is there a way to flush the DNS cache from a C# WPF app? The application would be running on either XP, Vista, or Windows 7. ...

how to monitor/sniff local DNS lookups to the windows local DNS? (on XP, Vista, Win7)

Is there a way in .NET (for a WPF application running on XP, Vista, or Windows 7) to monitor/sniff DNS lookups that the application is making to local DNS? For example, is there a log file for a windows local DNS cache somewhere? (Background - parsing network packets doesn't seem to work as a DNS lookup may not have to be issued out...

Capturing DNS responses with PCap.Net???

Hi, Q1 - Is it possible to capture DNS request/responses with the library? Q2 - If yes, once I have the packet does anyone have any sample code that shows how I could extract the fields from the DNS response? In particular the IP address that DNS resolved for the given DNS name provided in particular. ...

Can I point a Heroku project to a Path in my Domain?

If I have a project on heroku: http://martini.heroku.com Can/how-do I point that to a path on my domain: http://viatropos.com/martini Is that possible? ...

how can I parse a UDP packet in .NET?

how can I parse a UDP packet in .NET? I'm using PCap.Net to capture packets, in this case UDP packets, which I can access from the PCap.net object via (PcapDotNet.packets.Ethernet.IpV4.Udp). How can I take the results, the Udp packet, and parse this? In particular to unbundle DNS requests and responses that occur that are housed wit...

How can I find the hosting company URL by domain name?

Hi, so I'm looking for a server host for a website that I'm building. Generally I know from continually visiting sites which ones I like and which I don't. I think this is a much better way than simply measuring ping times to determine speed. So I want to know if there's a way to find out which hosting companies are hosting certain doma...

DNS problem - dig resolves but curl cannot connect to host

I have recently created a Rackspace cloud server instance using CentOS 5.5. I have used yum to install the "Web Server" group (it includes Apache, etc.), added www.booztrakr.com as the ServerName in httpd.conf, made sure iptables allows on port 80. I had registered this domain with Go-Daddy and changed their name servers to the Rackspa...

Any existing DNS resolver project for windows? Both C++ or C# will do.

I've been trying to build a DNS resolver in C# since last week, which is a painful process. Though I've made some progress (say, I can parse the data of a DNS Message correctly), it became more and more likely to me that this may not be the right job for C#. I have to be prepared in case I had to port to C++. But it is best not do it...

Is res_query thread-safe?

Is res_query (int res_query(const char *dname, int class, int type,unsigned char *answer, int anslen);) thread-safe? I think so, because it writes its answer to an user-allocated buffer (in contrast to gethostbyname that uses a statically allocated buffer). Does somebody know for sure? ...

windows 2008 DNS Website without www?

Hello, I have a site on my server that only works with a www. example: http://www.dartmouthplayers.ns.ca/ works but without it, it does not. http://dartmouthplayers.ns.ca/ But the site's bindings has both listed: and the DNS has the blank host record: What did I not set right? It's odd because: http://dartmouthplayers.ns.ca/ - re...

Comine two spfs into one: Google Apps SPF + Campaign Monitor SPF = ???

Trying to combing two spfs into one? Any thoughts? Thanks! SPF A: v=spf1 include:_spf.google.com ~all SPF B: v=spf1 mx include:cmail1.com ~all What is A + B ? ...

DNS and apache relation

when I hit the URL say wget yahoo.com. What all steps take place from the time I hit ENTER till I get the webpage. This is with Solaris machine having Apache webserver and DNS configured . I want to know how does the DNS and apache interact to display the webpage. ...

Is there a way to simulate DNS Hijacking for testing purposes?

I'm working on an application that connects to URLs, and it responds differently depending on whether or not an address resolves in DNS. I need to find a way to simulate DNS Hijacking so that I can test that my application handles it correctly. Anybody know a way to do that? ...

Link in HTML e-mail does not work in Hotmail

Hello everybody. I send automated mails to hotmail users. (thank you for your registration bla bla) Because plain text doesn't look attractive enough, I use HTML with images. The images reside on a public webserver. As SMTP server I use the SMTP part of IIS 7.5 (windows 2008 R2). I have an SPF record setup in the DNS. I have also read ...

DNS resolver libraries with support for DNSSEC and/or experimental new RR types

What's the state of the art in DNS resolver libraries? I am particularly interested in full (not stub) resolvers that support any or all of: making multiple queries in one request packet, complete DNSSEC validation, returning detailed information about DNSSEC validation to the application, and can handle experimental new RRs without muc...

Does a DNS change work seamlessly or is there a period when the website is unavailable?

I changed the name servers for one of my domains two hours ago. I kept checking in a browser and just now it stopped taking me to my old site. However, it just displays a "could not connect" error. I don't know if the transition took place and there's a problem with the new server or it just didn't happen yet. I know a DNS change takes...

Reverse ip, find domain names on ip address.

Hello, How and from where websites like this http://www.yougetsignal.com/tools/web-sites-on-web-server/ are getting this information from? How can I develop such tool? Thank you. ...

socket.getaddrinfo raises "Unknown host" mystery

I'm having a problem resolving a hostname using python's (2.6.2) socket class. From the shell I'm able to ping the hostname, and also resolve the hostname using the host command: host myhostname.mydomain.com When I attempt to resolve it with python, a socket.herror exception is raised with the message "[Errno 1] Unknown host" socket...