Question: I'm working on a blog using Django and I'm trying to use get() to retrieve the post from my database with a certain post\_title and post\_date. I'm using datetime for the post\_date, and although I can use post\_date = date(year, month, day) to fetch a post made on that specific day, I don't know how to get it to ignore the day parameter, I can't only pass two arguments to date() and since only integers can be used I don't think there's any kind of wildcard I can use for the day. How would I go about doing this?

To clarify, I'm trying to find a post using the year in which it was posted, the month, and it's title, but not the day. Thanks in advance for any help!

Answer: 
Old post, but you need create 2 subdomains at your DNS Server. The 1st should be IPv4 and the other IPv6 .

On ipv4.subdaomain.com, use only an A Record. On ipv6.subdomain.com use an AAAA Record.

Now, in your javascript send an AJAX request to ipv6.subdomain.com and ipv4.subdomain.com. In php return the ip address on the client.
If you use a server side scripting language like PHP you can use the following code to do so

```
<?php
function look_me_up()
{
    $records = dns_get_record( trim(`hostname --fqdn`) );
    foreach($records as $record)
    {
        if ($record['type'] == 'A')
            $ip = $record['ip'];
    }
    return $ip;
}
?>

```

<http://php.net/manual/en/function.gethostbyname.php>

It does not need be in a frame, you could use a jquery ajax call to get the info if the page is not PHP. I am unclear of all the details of your existing page to make a good recommendation for portion of the question.

Good Luck!