Vesna Manojlovic

RIPEstat DNS Widget for World IPv6 Launch

Vesna Manojlovic

4 min read

0 You have liked this article 0 times.
1

RIPEstat has a new DNS widget for World IPv6 Launch. The widget can be included in any website where you'd like viewers to be able to perform IPv6 (and IPv4) DNS lookups or view your site's DNS details.


For World IPv6 Launch , we have created a RIPEstat widget showing the results of DNS lookups.  The widget can be embedded in any site where you want to either give your viewers the opportunity to perform DNS lookups and see the results, or where you would like to display the (presumably IPv6-enabled) results of a DNS lookup for your site. RIPEstat DNS IPv6 Launch widget - v6 only

Figure 1: IPv4/IPv6 DNS results for a v6-only site

Embedding a Widget

It's easy to embed this or any other RIPEstat widget on your page. All widgets have a grab link near the bottom right corner, which you can click to display the JavaScript necessary to create the widget. In the DNS information widget, Embed this widget on your website gives the same result, as shown in Figure 2. RIPEstat DNS IPv6 Launch widget - grab expanded

Figure 2: The grab link in a RIPEstat widget gives you the JS to embed the widget

Websites which focus on promoting IPv6 adoption may wish to embed the widget to allow site visitors to check if a site has an AAAA record. Websites that want to demonstrate their IPv6 readiness may opt to include the widget to display fixed results of the site.

Are you embedding this or another RIPEstat widget in your page? Drop us a note --we'd love to hear about it!

User-Selected Resource

You can give your site's users the opportunity to query resources directly, as seen in Figures 1 and 2. Simply include the following code in your page:

 <script src="https://stat.ripe.net/widgets/widget_api.js"></script>
<div class="statwdgtauto">
<script>ripestat.init("ipv6-launch-day-forward-dns",{"resource":""},
null,{"show_controls":"yes",
"resource_input_text":"Enter a website (e.g. ripe.net)"})</script></div>

Fixed Resource

RIPEstat DNS IPv6 Launch widget - no control bar

Figure 3: IPv4/IPv6 DNS widget with a fixed resource

If you want to embed the widget to display fixed information about one name, as seen in Figure 3, include the following JavaScript in your website after setting the correct resource:

 <script src="https://stat.ripe.net/widgets/widget_api.js"></script>
<div class="statwdgtauto">
<script>ripestat.init("ipv6-launch-day-forward-dns",
{"resource":"google.com"},null,
{"resource_input_text":"Enter a website"})</script></div>

More Help with Embedding

Documentation about embedding RIPEstat widgets is available--as is a video with a demonstration of embedding --but all you need to do to get started is copy and paste!

About RIPEstat

RIPEstat is a toolset which collects information about resources. The RIPEstat website is made up of more than a dozen widgets, which can also be embedded in other websites.  The widgets are based on the public data API , which allows scripting based on the data sets provided by the RIPE NCC.

RIPEstat is developed iteratively in consultation with the community. If you have some thoughts on how we can make RIPEstat even more useful, contact us!

Feedback

There are several ways in which you can offer feedback on RIPEstat:

0 You have liked this article 0 times.
1

You may also like

View more

About the author

Vesna Manojlovic is Community Builder at RIPE NCC. Vesna joined the RIPE NCC as a Trainer in 1999. In 2003, she took responsibility for developing and delivering advanced courses, such as RPSL, Routing Registry, DNSSEC and IPv6. In 2008, she lead efforts to establish IPv6 RIPEness as a measure of IPv6 deployment among LIRs. In 2011, she joined the Science Division as Manager of the Measurements Community Building team; in 2015 she moved to Communications Department as Senior Community Builder, with a focus on organising hackathons. Vesna gives presentations at many technical conferences and workshops, and enjoys visiting hackerspaces. Vesna received a Batchelor of Sciences Degree in Computer Science and Informatics from the School of Electrical Engineering, University of Belgrade. She has three children.

Comments 1