# angular-dns-propagation-checker

> make DNS propagation check in your AngularJS App

Latest version **0.0.1** (published 2017-03-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install angular-dns-propagation-checker
pnpm add angular-dns-propagation-checker
yarn add angular-dns-propagation-checker
bun add angular-dns-propagation-checker
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-03-22 |
| First published | 2017-03-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hugo Maugey |
| Maintainers | hugsbrugs |

## Links

- npm: https://www.npmjs.com/package/angular-dns-propagation-checker
- npm.io page: https://npm.io/package/angular-dns-propagation-checker

## Recent versions

- 0.0.1 (latest) — 2017-03-22

## README

# angular-dns-propagation-checker

A one folder drop to your PHP server to get your own DNS propagation checker ! Based on an open API (still require PHP server side since API does not support JSONP nor CORS).

[Free Online DNS Propagation Checker](https://hugo.maugey.fr/tools/dns-propagation-checker)

[![DNS Propagation Screenshot](/doc/angular-dsn-propagation-checker.png?raw=true "DNS Propagation Screenshot")](https://hugo.maugey.fr/tools/dns-propagation-checker)

Angular Single Page Application with local storage and [moment.js](http://momentjs.com/) as main javascript dependencies. Bootstrap for template.

This can be a good starter place to learn AngularJS because it involves following techniques :
- modularity : get external and internal modules
- create a service for HTTP request to separate controller data manipulation from data retrieval
- create a service to get/set hash URL depending on form data
- create a provider to set API Endpoint at apllication startup
- and more ...

## Dependencies

Font Awesome

Angular (Animate, Resource, Sanitize, Cookies, Touch)

Angular UI Bootstrap  

Angular Moment (Moment.js)

## Install

Bower
```
bower install hugsbrugs/angular-dns-propagation-checker --save
```

NPM
```
npm  install hugsbrugs/angular-dns-propagation-checker --save
```

## Usage

```html
<link rel="stylesheet" href="dns-checker.min.css"/>
<script src="dns-checker.min.js"></script>
```

Load Modules
```js
var myApp = angular.module('myApp', [
    'ngResource',
    'ngAnimate',
    'ngCookies',
    'ngTouch',
    'ngSanitize',
    'angularMoment',
    'ui.bootstrap',
    //
    'angular-dns-propagation-checker'
]);
```

Modify API End Point
```js
myApp.config(['dnsCheckerProvider',
    function(dnsCheckerProvider)
    {
        dnsCheckerProvider.setApiListDns('get_nodes.php');
        dnsCheckerProvider.setApiGetDns('get_node.php');
    }
]);
```

In HTML template
```html
<dns-checker><dns-checker>
```

## Contribute

npm install

gulp build

gulp : not working since PHP files are downloaded and not executed by node server : quite normal so perhaps use gulp-connect-php ... or simply a real PHP server : drop this repo in you web folder and visit index.html


## Author

Build by [Hugo Maugey](https://hugo.maugey.fr "Webmaster Narbonne")

---
_Source: https://npm.io/package/angular-dns-propagation-checker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
