Saltar al contenido

admin

Windows Live Hotmail Postmaster Smart Network Data Service

  • admin 

¿Cómo analizar los correos que llegan a Hotmail y que son consideramos como Span?

https://postmaster.live.com/snds/

Algunos aspectos a considerar:

·         Asegúrese de que han publicado los registros SPF para sus dominios envío y registro con el ID del remitente. Puede encontrar información adicional y enviar su dominio para su inclusión en el programa de Sender ID http://www.microsoft.com <http://www.microsoft.com/>    senderID tenga en cuenta que las normas técnicas (RFC 4408) no aceptan el uso de «ptr» por razones de rendimiento y fiabilidad.

·         Seguimiento quejas de los Usuarios. Windows Live Hotmail también cuenta con un programa para recoger  las opiniones de nuestros usuarios es llamado Junk Email Reporting Program (JMRP). La  Inscripción en este programa es gratuita y le beneficiará como remitente que mantendrá sus listas de correo electrónico actualizada y  compuesta solo con los usuarios Windows Live Hotmail interesados.  Este programa le ayudará a eliminar a los clientes de Windows Live Hotmail que no desean recibir mensajes de correo electrónico de su empresa. Si estás interesado en participar en este programa, visite https://support.msn.com/eform.aspx?productKey=edfsjmrpp&ct=eformts <https://support.msn.com/eform.aspx?productKey=edfsjmrpp&ct=eformts>

·        Windows Live Hotmail ha creado el Smart Network Data Services program.  Este es un servicio que ayuda a los remitentes legitimos a trabajar con sus clientes y socios para reducir el spam de su propiedad intelectual. Para registrarse, vaya a http://postmaster.msn.com/snds/ <http://postmaster.msn.com/snds/>  Este programa permite a un remitente supervisar la salud/estado de sus IPs.

.        Tenga en cuenta que el uso de la herramienta SNDS, la inscripción a JMRP o el registro de sus IPs con Sender ID no evitará que emails enviados desde sus servidores sigan pasando a través de nuestros filtros, cuyo objetivo es ayudar a compañías legítimas a entregar sus mensajes de correo electrónico a los clientes de Windows Live Hotmail.

Únase al Sender Score Cetified Mail Program

Si ha hecho  todo lo anterior y  sigue tienen problemas de capacidad de entrega, le recomendamos que considere la posibilidad de unirse al » Sender Score Certified Mail Program» ( Certificado de Calificación de Remitente ) , un programa de terceros administrado por Return Path, Inc.  Muchos clientes de correo legítimos y comerciantes  han calificado y unido a este programa para mejorar la capacidad de entrega de correo y reducir  que el correo electrónico   se filtre en la carpeta de correo no deseado (Junk Folder).  El programa  (www.senderscorecertified.com) es el único servicio que suscribimos  para  la calificación de los remitentes.

Por  último, recordarle que los pasos anteriormente sugeridos son sólo recomendaciones.

Microsoft no ofrece ninguna garantía de que estos pasos certifiquen la capacidad de entrega a los clientes MSN, Windows Live Hotmail o Live.com.

Para obtener más información sobre mejores  prácticas de envío de mensajes para los usuarios de Windows Live Hotmail, por favor, revise el siguiente documento http://download.microsoft.com/download/e/3/3/e3397e7c-17a6-497d-9693-78f80be272fb/enhance_deliver.pdf <http://download.microsoft.com/download/e/3/3/e3397e7c-17a6-497d-9693-78f80be272fb/enhance_deliver.pdf>

Robots.txt Optimization

  • admin 

Search Engines read a yourserver.com/robots.txt file to get information on what they should and shouldn’t be looking for, and where.

Specifying where search engines should look for content in high-quality directories or files you can increase the ranking of your site, and is recommended by Google and all the search engines.

An example WordPress robots.txt file:

Sitemap: http://www.example.com/sitemap.xml

# Google Image
User-agent: Googlebot-Image
Disallow:
Allow: /*

# Google AdSense
User-agent: Mediapartners-Google*
Disallow:

# digg mirror
User-agent: duggmirror
Disallow: /

# global
User-agent: *
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /wp-content/cache/
Disallow: /wp-content/themes/
Disallow: /trackback/
Disallow: /feed/
Disallow: /comments/
Disallow: /category/*/*
Disallow: */trackback/
Disallow: */feed/
Disallow: */comments/
Disallow: /*?
Allow: /wp-content/uploads/

Google Sitemaps FAQ (Sitemap Issues And Errors)

  • admin 

Google Sitemaps FAQ (Sitemap Issues And Errors)

Filed under: SEOSitemaps — arne on April 7, 2006

In June 2005, Google announced a new service called Google Sitemaps. This program allows webmaster to submit an index of URLs which they want to have included in Googles web search. It’s free to use and helps Google to get a more complete overview of your pages.

Overview

What is or are Google Sitemaps?

Basically, a Google Sitemap is a file which contains URLs and some additional information for all public pages or documents of your website. Google can read this file and add the defined pages to their index. The Google Sitemaps program is part of the «Google webmaster tools«.

How can I create Google Sitemap for my website?

If you are using the blogging software WordPress, you can use the Google Sitemap Generator for WordPress plugin. Otherwise, you can check the list of third party programs at code.google.com.

Do I need a Google Account to use Google Sitemaps?

There are two ways to notify Google about your sitemap.

  • You can register to the Google Sitemaps program and submit your sitemap. This will also allow you to see some interesting statistics about your site like the most used keywords and spidering problems.
  • If you don’t have a Google account or don’t want to create one, you can notify Google about your sitemap by «pinging» their sitemap server. All you need to is to point your browser to http://www.google.com/webmasters/sitemaps/ping?sitemap=http://www.name.com/sitemap.xml
    Google will check your sitemap for updates regularly, so you don’t need to do this more than once.

Will Google Sitemaps affect my ranking?

There are no evidences that a Google Sitemap will directly affect your ranking. However, it can help Google to index and crawl your page better which may result in a more complete index of your page.

Where can I submit my German (or international) sitemap?

There are no different sitemap programs for languages or countries. Just register to the international Google Sitemaps Program, which is localized in many languages.

Technical questions

What is the maximum size of a Google Sitemap?

According to the Google Sitemap FAQ, your sitemap can contain up to 50,000 URLs or reach a file size of 10MB (uncompressed!). However, I would recommend you to split such large sitemaps into various smaller ones which allows Google to retrieve only the latest ones regularly. This will save you a lot of traffic.

Can I use RSS as my Google Sitemap?

Yes, Google Sitemaps supports RSS 2.0 and Atom 0.3 feeds. However, a Google Sitemap should contain as much pages of your site as possible but a RSS feed contains only the latest ones normally.

Do I have to resubmit my sitemap every time I change it?

Google will check your sitemap for updates regularly, so you don’t need to inform them. However, you can resubmit your sitemap by clicking the «Resubmit» button on the Google Sitemaps Site Overview (Google Account required) or by pointing your browser to http://www.google.com/webmasters/sitemaps/ping?sitemap=http://www.name.com/sitemap.xml
If you are using a program to generate your sitemap it’s likely that there is an option to notify Google about changes automatically.

Can I hide my sitemap from other people?

I don’t know any reason why you should hide your sitemap from other people. They can find most of your URLs by searching with the «site:www.exampe.com» operator in Google. Of course, you don’t need to call it sitemap.xml but my-completely-hidden-sitemap.xml for example.

Does my Google Sitemap have to end with .xml?

No, you can name it whatever you like, just make sure you are sending the correct mime type (text/xml for xml data). You can configure your Apache server to send «text/xml» for your favourite extension by adding «AddType text/xml .yourext» to your .htaccess file or httpd.conf.

Can you give me an example of a Google Sitemap?

Basically, a Google Sitemap looks like the following sample. A «real» sitemap can be found here. (Note that the linked example is styled via XSLT to make it more readable. Use the «Show Source»e; function of your browser to see the actual XML code.) All fields except of «loc» are optional.

  1. <?xml version=»1.0″ encoding=»UTF-8″?>
  2. <urlset>
  3.     <url>
  4.         <loc>http://www.arnebrachhold.de/</loc>
  5.         <lastmod>2006-05-22T12:31:11+00:00</lastmod>
  6.         <changefreq>weekly</changefreq>
  7.         <priority>1</priority>
  8.     </url>
  9.     <url>
  10.         <loc>http://www.arnebrachhold.de/imprint/</loc>
  11.         <lastmod>2006-05-22T13:31:11+00:00</lastmod>
  12.     </url>
  13.     <url>
  14.         <loc>http://www.arnebrachhold.de/foo/</loc>
  15.     </url>
  16.     <!– This is a comment –>
  17. </urlset>

 

How do I know if my sitemap.xml is correct?

You can just submit your sitemap to the Sitemaps program and wait until it’s downloaded the first time. Google will tell you if there are any errors. If you want to validate your sitemap before submitting it, you can use a XML validator to validate the structure of your sitemap file.

Help with error messages

What means the error message «This url is not allowed for a sitemap at this location»?

This error means that your sitemap contains URLs which are not alllowed in your sitemap. Your sitemap can only include URLs which point to files on same domain and the same or deeper directories. Let’s take a small example to illustrate it:
Your sitemap file is saved at http://www.example.com/herbert/sitemap.xml
Your sitemap is allowed to contain URLs like

  • http://www.example.com/herbert/
  • http://www.example.com/herbert/home.html
  • http://www.example.com/herbert/test/index.html
  • http://www.example.com/herbert/info/about/guestbook

but you can’t include URLs like

  • http://www.example.com/ (Higher directory level than your sitemap)
  • http://www.example.com/herbert (Higher directory level, missing trailing slash so «herbert» is treated like a file)
  • http://www.example.com/lusie/ (Higher directory level than your sitemap)
  • http://www.herbert.com (Not the same domain)

You can include the 3 first denied URLs by moving your sitemap one directory higher to http://www.example.com/sitemap.xml
Now you can include all URLs which point to http://www.example.com/ like

  • http://www.example.com/herbert
  • http://www.example.com/
  • http://www.example.com/lusie/
  • http://www.example.com/lusie/all-about-google.html

What means the error message «Invalid date»?

This error means that your sitemap contains an entry which has an invalid last modified date. Google Sitemaps requires the ISO-8601 encoding which has two variations:
– 2005-02-21
This one just contains the year (4 digit), the month (2 digit) and the day (2 digit)
– 2005-02-21T18:00:15+00:00
This one is more complex and includes the year (4 digit), the month (2 digit) and the day (2 digit) followed by the character «T», the hour (2 digit), colon, minute (2 digit), colon, second (2 digit) and finally the time zone with the character «+» OR «-«, the timezone offset in hours (2 digit) and minutes (2 digit).
It’s important to include ALL parts of the chosen date format and pay attention to the correct order. See the ISO-8601 specification for more examples.

What means the error message «We couldn’t find your verification file.»?

Double check that you named your verification file correctly (like Google told you) and that there are no spaces in front or after the file name. If it still doesn’t work, make sure your server returns correct status headers for existing documents (200) and not existing documents (404). You can check this by using a sniffer or HTTP Request Tool.
Enter the URL to your verification file and check that your server returns «200 OK» as the status code. Then try a not existing page and verify that your server returns «404 Not found». If you got a «200 OK» again, review your server configuration about error documents.

Statistics and verification

May I delete my verification file after I verified my site?

You can delete the verification file but Google will check the existence of the file regularly so you will have to create it again soon.

Why does Google check the existence of my verification file regularly or why should I not delete it?

This will allow Google to ensure that you are the current owner of the domain or have the permission to use it. If you buy a domain from another person he will lose the access to your Google Sitemaps statistics after you deleted his verification file.

Can other people view my statistics?

Only people who have write access to your webserver, via FTP for example, can view your statistics after they successfully verified their Google account with putting a file with a specified name on your web space. The file name is given by Google and depends on the Google account name. As long as your webserver is secure, nobody beside you can view your Google Sitemaps statistics.

Do I need a Google Sitemap to view statistics about my website?

No, just sign up to Google Webmaster Tools and add your website. As soon as you verified your submission, you are able to view statistics like crawling errors, top keywords and so on. You don’t need to submit a sitemap for that.

Sitemap Generator for WordPress Plugin FAQ

WordPress needs to long to create my sitemap or I get a timeout error / blank page

Try to increase the memory and time limits which are located under Advanced optionsat the sitemap configuration page. See also this question.

I have no comments (or disabled them) and all my postings have a priority of zero!

Disable automatic priority calculation and define a static priority for posts! There is also an option to define a minimum post priority.

Do i need a Google Account for this plugin?

Maybe. If the «Auto-Ping Google Sitemaps» Feature works, you don’t need a Google Account. If your host disabled the required PHP functions for this feature, you need a Google Account and submit your sitemap once. Google will check the sitemap file periodically for changes.

Do I always have to click on «Rebuild Sitemap» if I modified a post?

No need to do that. If you edit/publish/delete a post, your sitemap gets automatically regenerated!

So much configuration options… Do I need to change them?

No, only if you want. Default values should be ok!

Does it work with all WordPress versions?

This plugin works with WordPress 1.5.1.1 or higher only. Please upgrade if your are using an older version.

I get an fopen error and / or permission denied

If you get permission errors make sure that the script has writing rights in your blog directory. Try to create the sitemap.xml resp. sitemap.xml.gz manually, upload them with a ftp program and set the rights to 777 with CHMOD. Then restart sitemap generation on the administration page. A good tutorial for changing file permissions can be found on the WordPress Codex.

Which MySQL versions are supported?

This plugin works with all MySQL 4, 5 and newer MySQL 3 builds.

Do I need cronjobs to run this plugin?

No, you don’t need any cronjobs. The sitemap gets rebuilt if you edit a post.

The sitemap files could not be written!

Make sure that the files «sitemap.xml» and / or «sitemap.xml.gz» are writable. You have two options to ensure this:

  • Make your blog root writable
    You can make your whole blog root folder writable and the plugin will create the files for you. You can do this by using a FTP program and setting CHMOD to 755 or 777 to your web-root folder. This folder is often named «htdocs», «html», «public» or «httpdocs».
  • Create the sitemap files and make them writable
    If you can’t make your blog root folder writable or don’t want to do so, you can create two new files, name them «sitemap.xml» and «sitemap.xml.gz», upload them to your blog root and use a FTP program to apply CHMOD 755 or 777 to them. To create these files, simply open Notepad, click on «File > Save As», choose «Filetype: All File» and enter «sitemap.xml» as the name. Repeat this step for «sitemap.xml.gz».
  • More information about changing file permissions
    Please look at the WordPress Codex or this toturial to get step by step advices for your FTP program or check the manual.

The last run didn’t finish or I just get a white screen

It could be that your server is not configured to run memory-heavy scripts like a sitemap generator.

  • Try to increase the memory limit on the sitemap options page (start by «4M» and raise the value if it doesn’t help).
  • Try to increase the time limit on the sitemap options page (start by «20» and raise the value if it doesn’t help).
  • If it’s still not working you may not have the permission to change these settings so you need to ask your hoster to raise the limit

What’s the difference between the «sitemap.xml» and «sitemap.xml.gz» files?

The «sitemap.xml.gz» is a compressed version of the «sitemap.xml» file. It has the same content, but is significantly smaller than the other one. This helps you and the search engines to save a lot of traffic. Since all search engines support compressed sitemaps, you actually don’t need the «sitemap.xml», but maybe you or your visitors want to view them from time to time so keeping it doesn’t hurt.

What are the different building modes?

You can choose when your sitemap gets regenerated:

  • Rebuild sitemap if you change the content of your blog
    Your sitemap gets automatically refreshed when you publish or delete a post. If you have really much post, the process may take some time and you have to wait on the posting screen until it’s finished.
  • Enable manual sitemap building via GET Request
    This option allows you to refresh your sitemap using a special URL which is displayed when you click on the «[?]» sign. This url can be used with a cron job for example which refreshed the sitemap every day or every hour. This mode is prefered if you have thousands of post and the automatic building needs to long

What is the update notification?

This plugin can automatically notify Google and YAHOO when the content of your blog changes. This service is free to use, YAHOO just requires an API key which can be freely obtained here. After the search engines recieved the «ping» they may come and crawl your site again. Since the sitemap files contain the last change of every post or page, the spiders should just retrieve the changed ones and save your traffic. The plugin stops the time the notification of every search engines needs and might recommend you to disable this service if it slows down the building process significantly.

About the advanced options

  • Limit the number of posts
    If you have problems with the maximum execution time or memory limit you can limit the number of posts which will be included in the sitemap. Newer posts are included first so your sitemap will stay up-to-date.
  • Increase the memory limit
    Building the sitemap needs a lot of memory. If the memory size is limited via configuration and the script can’t finish the sitemap, you can try to increase this limit by entering a higher value. The values are in megabytes so you can start with «2M» for smaller sites and raise the number until it works. However, it could be that you don’t have the permission to change this value so if it still doesn’t work and you already tried a very high value like 16M, you will need to contact your webhoster and ask him to raise it for you.
  • Increase the maximum execution time
    Like the memory, the maximum execution time can also be limited. If the script doesn’t finish, try to set the time limit to «0» which means unlimited or a high value like «30» seconds.
  • Include a XSLT stylesheet
    Since version 3.05b, the plugin ships a default XSLT stylesheet which makes your XML sitemap human readable. You can specify you own by entering a full or relative URL. Please note that the XSLT stylesheet must be on the same server for security reasons.
  • Enable MySQL standard mode
    Per default, the plugin uses a separate MySQL connection to query the post data in a very effective, memory-saving way. If this doesn’t work on your hosting configuration you can enable the MySQL Standard mode which uses much more memory but should always work.
  • Build the sitemap in a background process
    If your blog contains a large number of posts you may experience a delay after editing or saving a new post or page since it needs some time to generate the sitemap. If you activate this option, your sitemap will be built in background using wp-cron which will avoid the delay. Your sitemap will be generated a few seconds after you’ve hit the save button so the sitemap status at the administration panel won’t show the changes immediately.
  • Exclude posts or pages
    Here you can enter the IDs of posts or pages which will not be included in your sitemap. You can see the IDs of the post or pages in the corresponding management pages. Separate multiple IDs by comma.

Google Sitemaps and robots.txt

You can use the robots.txt file to inform search engines about your sitemap. If you activate this option at the administration panel, the plugin will try to create the file in your blog root. The «File permissions» status below the checkbox will give you a hint if this is possible or not. If the robots.txt file cannot be generated due to insufficient file permissions, please create the robots.txt file by yourself and make it writable via CHMOD. A good tutorial for changing file permissions can be found on the WordPress Codex. The plugin will NOT delete your existing robots.txt file but append the new values at the end.

About this FAQ

I didn’t find an answer to my problem, are there any additional resources?

You can look at the Official Google Sitemaps FAQ, join the Google Sitemaps Group or leave a comment on this post.

What can I do if I have suggestions or corrections for this FAQ?

Suggestions and corrections are always welcome, please write me a mail if you have some and I will update this page .

Guia DIG

  • admin 

Dig es otro comando para realizar consultas directamente a los servidores DNS’s. Veamos un ejemplo sencillo:
 Guía de Dig
Se distribuye con servidor de nombres BIND, en Linux/UNIX suele venir preinstalado con las utilidades DNS, si no es vuestro caso buscad en Google cual es el paquete que necesitáis según vuestra distribución. En el caso de los usuarios de Windows no viene preinstalado en ninguna de sus versiones.
¿Entonces solo se puede utilizar en entornos Linux/Unix?
Obviamente no, pero tendremos que “instalarlo” nosotros mismos. Tenéis el como en este otro post.
Ahora vamos a ir entrando en detalle. Para empezar dig sin no le especificamos lo contrario hará uso del servidor de nombres que tengamos configurado por defecto en el archivo resolv.conf, el cual podéis encontrar en:
Linux

/etc/resolv.conf

Windows

Windowssystem32driversetcresolv.conf

Dig nos presenta por consola la información dividida en secciones:

  • Got Answer. En esta sección nos dan información acerca de la consulta realizada. Mención especial hay que hacer a la sección flags.
  • Flags:
    • QR (Query/Response): Informa de que el mensaje es de respuesta.
    • RD (Recursion Desired): Informa de que queremos que en caso de no resolver la consulta en el servidor inicial seguirá realizando consultas recursivamente a otros.
    • RA (Recursion Allowed): Informa de que pedimos al servidor que consulte recursivamente a otros servidores de darse el caso de no ser capaz de resolver una consulta. El server puede aceptar o no.
    • AA: Informa de que es una respuesta autorizada.
    • TC (Truncated Response),Informa de que la respuesta se ha truncado por ser demasiado grande.
    • AD (Authentic Data): Informa de que los datos incluidos en la respuesta han sido verificados por el servidor que nos la ha devuelto.
    • CD (Checking Disabled): Informa de que una consulta con los datos sin verificar es valida.
  • Question Section. En esta sección se nos muestra la consulta realizada. Consta de tres partes
    • El dominio consultado
    • Ámbito donde se realiza la consulta. Normalmente tiene el valor IN que representa a Internet.
    • Registros consultados. Estos registros pueden ser:
      • A: IPv4 de un dominio
      • ANY: Cualquier tipo de registro
      • AAAA: IPv6 de un dominio
      • CNAME: Alias de host
      • MX: Servidores de correo
      • NS: Servidores de nombres
      • TXT: Texto, se utiliza para configurar SPF
      • SOA: Servidor autorizado para el dominio
  • Answer Section. En esta sección se nos muestra la respuesta a nuestra consulta. En el caso de que haya uno o varios alias especificados para nuestra consulta, dig seguira consultando a los alias hasta llegar al registro A.
  • Authority Section. En esta sección se nos muestra información de los servidores de nombres autorizados para una determinada zona.
  • Additional Section. Es en esta sección donde se nos mostrara las IP’s de los servidores de nombres mostrados en la Authority Section.
  • Detalles de la consulta.en esta sección se nos muestran datos sobre como se ha realizado la consulta:
    • Tiempo en realizar la consulta
    • Server y puerto al que se ha realizado la consulta
    • Cuando se ha realizado la consulta
    • Tamaño del mensaje recibido

Si se da el caso de que tuviéramos que consultar a un DNS especifico no necesitarías modificar el archivo resolv.conf, simplemente con utilizar la opción @SERVIDORDNS seria suficiente. Un ejemplo:

C:>dig @208.67.222.222 www.iana.org

; <<>> DiG 9.7.0-P1 <<>> @208.67.222.222 www.iana.org; (1 server found);; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44611;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:;www.iana.org.                  IN      A

;; ANSWER SECTION:www.iana.org.           296     IN      CNAME   ianawww.vip.icann.org.ianawww.vip.icann.org.  30      IN      A       208.77.188.193

;; Query time: 156 msec;; SERVER: 208.67.222.222#53(208.67.222.222);; WHEN: Sun May 16 17:37:06 2010;; MSG SIZE  rcvd: 78

C:>dig @208.67.222.222 www.iana.org

; <<>> DiG 9.7.0-P1 <<>> @208.67.222.222 www.iana.org; (1 server found);; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44611;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:;www.iana.org.                  IN      A

;; ANSWER SECTION:www.iana.org.           296     IN      CNAME   ianawww.vip.icann.org.ianawww.vip.icann.org.  30      IN      A       208.77.188.193

;; Query time: 156 msec;; SERVER: 208.67.222.222#53(208.67.222.222);; WHEN: Sun May 16 17:37:06 2010;; MSG SIZE  rcvd: 78
Podremos realizar consultas sobre solo un tipo de registros simplemente añadiendo el tipo de registro después del comando, de hecho por defecto dig consulta los registros A. En las siguientes capturas os pongo varios ejemplos de como funcionaria:
C:>dig NS hotmail.com

; <<>> DiG 9.7.0-P1 <<>> NS hotmail.com;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32701;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 5

;; QUESTION SECTION:;hotmail.com.                   IN      NS

;; ANSWER SECTION:hotmail.com.            1890    IN      NS      ns4.msft.net.hotmail.com.            1890    IN      NS      ns3.msft.net.hotmail.com.            1890    IN      NS      ns2.msft.net.hotmail.com.            1890    IN      NS      ns1.msft.net.hotmail.com.            1890    IN      NS      ns5.msft.net.

;; ADDITIONAL SECTION:ns4.msft.net.           1281    IN      A       207.46.75.254ns3.msft.net.           1281    IN      A       213.199.161.77ns2.msft.net.           1281    IN      A       64.4.59.173ns1.msft.net.           1281    IN      A       65.55.37.62ns5.msft.net.           1281    IN      A       65.55.226.140

;; Query time: 3 msec;; SERVER: 192.168.1.240#53(192.168.1.240);; WHEN: Sun May 16 17:43:28 2010;; MSG SIZE  rcvd: 207

Solo hay una excepción y es para obtener los registros PTR, para ello debemos utilizar el parámetro –x. Un ejemplo:

C:>dig -x 192.0.43.8

; <<>> DiG 9.7.0-P1 <<>> -x 192.0.43.8;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54298;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:;8.43.0.192.in-addr.arpa.       IN      PTR

;; ANSWER SECTION:8.43.0.192.in-addr.arpa. 12009  IN      PTR     43-8.any.icann.org.

;; Query time: 2 msec;; SERVER: 192.168.1.240#53(192.168.1.240);; WHEN: Sun May 16 17:44:30 2010;; MSG SIZE  rcvd: 73

Este ultimo comando nos sirve perfectamente para identificar rápidamente direcciones IP desconocidas que nos encontremos en cualquiera de los logs que tenemos que revisar o en una red que estemos descubriendo.

Hay dos opciones mas que merecen ser comentadas, el resto las tenéis en la ayuda:

  • +trace: Lista los servidores de nombres que se han utilizado para resolver la consulta
  • +notcp. Realiza la consulta con paquetes UDP en vez de TCP

Al realizar la consulta podemos seleccionar que secciones queremos que se nos muestren

También podemos seleccionar que secciones de la respuesta se nos presentan si nos hiciese falta filtrarla, los parámetros son:

  • +[no]cl: Clase
  • +[no]cmd: Línea de comandos
  • +[no]comments: Líneas comentadas
  • +[no]question: Sección Question
  • +[no]answer: Sección Answer
  • +[no]authority: Sección Authority
  • +[no]additional: Sección Additional
  • +[no]stats: Estadisticas
  • +[no]short: Muestra unicamente la respuesta corta
  • +[no]ttlid: TTL

Espero que os sirva.