Rotatable date gos reg html. Domain name monitoring

Zharoznizhyuchі zasobi for children is recognized as a pediatrician. Allegedly, there are situations of inconspicuous help for feverish women, if the children are in need of giving innocently. Todi dad take on the versatility and constipation of fever-lowering drugs. How can you give children a breast? How can you beat the temperature of older children? What are the best ones?

Yaksho continued service of the re-establishment of .RU, .РФ and .SU domains is not paid until the end of the term її dії, the service must be paid (delegated to the domain know) on the day of the instructions in the paid-till field of Whois-services. Whenever the planned date for the activation of the fall is on a weekend or Christmas day, when the domain is switched on, it will be transferred to the first working day of the weekend.

When receiving delegated domains in all http-feeds to the domain, they are redirected to the service side with information about the time of delivery. Administrators of domains .RU, і.РФ can until the end of the term of re-structuring of the domain name, sending an application from the most recent viewer for the address.

Within 30 days, after the end of the term of service (in the period of re-promotion) from the Administrator of the domain.

Once you have paid for the service, it will be renewed.

Vidalennya domain_v.RU, .SU, .РФ z Registry for non-payment

Domain renewal has not been paid for 30 days after the end of the renewal period (from the period of the renewed renewal), the renewal of the domain is canceled (domain name is).

Publish in the field of free-date information about the domain after the end of the term of the yogo restoration.

RU-CENTER can see the domain.SU whether at the moment of the free-date. As soon as it didn’t become, the domains would automatically see the Technical Center.

During the period of the re-promotion of the renewal of domains.RU ta.RF is not carried out.

Date visible to the domain by the Technical Center

Domeni.RU, .РФ і.SU are seen by the Technical Center for the day when the planned date is released (free-date).

Domeni.RU, .РФ abo.SU will be seen for another working day of the weekend, as the date of the attack is on a weekend or the day that insists on the weekend.

The procedure for visualizing domains at the Technical Center is starting to work:

  • for domain_v.RU, .РФ about 17:00 (MSK),
  • for domain_v.SU at 19:30 (MSK).

Registration through RU-CENTER domain_v.RU, .SU, .РФ,

Applications for the domain restructuring, which are eligible for the Registry, can be submitted to the www..site / auction / server up to the domain name Registrar.

For domain.RU і.РФ, applications can be repaired 30 days prior to the day of the domain name registration from the Registry, it is easy to re-register the domain, which can be received, in the domains RU and Russian Federation.

For domain_v.SU - at any moment before the domain’s sound, it’s easy to re-register the domain in the domains SU, COM.RU, NET.RU, ORG.RU, PP.RU and geodomains.

For domain_v.RU, .SU, .РФ - on the day it is visible to the domain from the Registry through the web interface on the side, when:

  • about vikonanі dії a list on the contact address of the individual, who filled the application, should be sent.

2. International and foreign

As long as the continuation of the service is not rallied until the end of the term of the day, the service is assigned (delegated to the domain is known) of the coming day of the date specified in the Expiration Date field. Whenever the planned date for the activation of the fall is on a weekend or Christmas day, the inclusion of the domain is transferred to another working day of the weekend.

Within 30 days after the end of the term of service, the Administrator of the domain will be able to pay for the continuation. Once you have paid for the service, it will be renewed.

View domains from resurrection in international and foreign national domains

If the renewal of the domain name renewal has not been paid for 30 days after the end of the service term, then RU-CENTER has updated the procedure for the domain. If the date of the attack is on the weekend or Christmas day, then the ear of the procedure is visible to the domain to be transferred to another working day of the weekend.

The procedure for viewing the domain in the Register is 35 days. Becoming a win:

  • domain.HN, the procedure is visible for some three days, and the domain for the whole period cannot be updated or renewed;
  • domain.NAME, which will be seen in 30 days after the end of the restoration line.
  • domain.KZ, which will be seen in 20 days after the end of the restoration line.

At the end of the Registry for 30 days, I will establish a status for the domain:
.NET, .COM, .CC, .TV, .AG, .BZ, .LC, .MN, .SC, .VC - RedemptionPeriod,
.BIZ, .TEL - Pending Delete,
.INFO, .ORG, .ME, .MOBI, .AERO, .TRAVEL, .XXX, .PRO - PendingDelete Restorable.

The date of the ear of the thirtieth period appears in the fields:
Updated Date for .NET, .COM, .CC, .TV, .AG, .BZ, .HN, .LC, .MN, .SC, .VC domains
Domain Last Updated Date - BIZ, .TEL or
Last Updated On - INFO, .ORG, .ME, .MOBI, .AERO, .TRAVEL, .XXX, .PRO.

Domain update

After 25 days after the ear of the procedure, the domain can be updated and renewed (except for HN, NAME, .KZ) for the administrator's power supply to the domain.

If the domain has not been updated or renewed, it will be seen from the Registry in 5 days after the end of the term RedemptionPeriod (Pending Delete or PendingDelete Restorable). After 5 days (the status of the domain in the Registry - PendingDelete), update, continue or register the domain is uncomfortable.

Writing to a domain from the Registry domain can be registered as a special person.

3. Domains of the 3rd rivnya

Delegating domain name for non-payment

As long as the service is not paid until the end of the term of the day, the service is assigned (delegated to the domain is known) of the coming day of the date designated by the paid-till field of Whois-service. For the .NET.RU, .ORG.RU and .PP.RU domains, you need to pay-till the Whois-services.

Whenever the planned date for the activation of the fall is on a weekend or Christmas day, the inclusion of the domain is transferred to another working day of the weekend.

When sending domain delegations to .NET.RU, .ORG.RU and .PP.RU domains, they are redirected to the service website of the .NET.RU, .ORG.RU, .PP.RU domains administrator, and TsVKS. "MSK-IX", with information about the reason for the delegation.

Within 30 days after the end of the term of service (the period of re-promotion), the domain administrator will have the opportunity to pay for the re-extension. Once you have paid for the service, it will be renewed.

The period of the overhaul of the renewal of the .NET.RU, .ORG.RU and .PP.RU domains will not fail.

If the payment for the continuation of services is spent on the last working day during the period of the reward, the RU-CENTER is not responsible for the success of the continuation.

View domains

The domain name renewal of the third level will be canceled (the domain is ringing), if it will not be continued for 30 (thirty) calendar days from the date of the end of the domain name renewal.

Planned date for domain name be published in the free-date field in the information about the domain Whois-service RU-CENTER after the end of the term of the yogo re-establishment. At the same time, it will be carried out for one day after the planned date, if the day is visible (free-date + 1) does not fall on a non-working day, or the day that comes after a non-working person (it’s visible to be held for another working day when there is a weekend).

Domains .NET.RU, .ORG.RU and .PP.RU are seen by the Technical Center for the day when the planned date is released (free-date). The domains .NET.RU, .ORG.RU and .PP.RU will be visible on another working day of the weekend, if the date of the attack is on a weekend or the day that insists on the weekend.

Domain registration through RU-CENTER

Applications for the restoration of domain names from the Registry or domains.COM.RU can be submitted to the www..site / auction / servers at any moment before the domains are launched from the Registry under the service "Restraint of a domain that can be played in domains .COM.SU, .COM .RU and geodomains ".

A day when the domain is visible, an application for a domain restoration service will be accepted through the web interface on the side, with:

  • the application is satisfied that at the time of processing the domain appears to be valid;
  • about vikonanі dії a list of contact e-mail addresses of the individual, who filled the application, should be provided.

Dear friends! Let's take a look at the restoration of coristuvachiv in PHP. For a cob, let’s be meaningful for our reestraction of koristuvachiv:

  • The password is encrypted with an additional algorithm MD5
  • Soliti password
  • Perevirk on the occupancy of Login
  • Activation of koristuvach with a leaf.
  • Record that zberigannya danih from MySQL DBMS

To write a script, we need intelligence, as well as the restoration of a koristuvach. The restoration of the koristuvach is the tse of rejection of the tribute of the real koristuvach, the obrobka of the zberigannya of the tribute.

I will explain in simple words then the restoration of all the deprivation of the record of the collection of singing tributes for which we can authorize the koristuvach in our vipad - tse Login and Password.

Authorization is the granting of singing individuals or groups of individuals with the rights to the submission of the singing events, as well as the process of revising the given rights every hour of the trial. It seems easier, for additional authorization, we can intercept access to this content on our site.

The structure of the catalogs of scripts for the implementation of our re-authorization is understandable. We need to break scripts on logical warehouses. Modules for re-structuring and authorization were placed in the okremiy catalog. Also in the okremі catalogs we support the connection to the base danih MySQL, file with koristuvach functions, style file CSSі our template Html... The qia structure allows shvidko orієntuvatisya in scripts. Find out if you have a great site with a set of modules, etc. and if you are not in order, you will be able to get into such a mess.

So yak mi zberіgatimemo all danі in MySQL DBMS, then let's go to a small table in what kind of data about the restoration.

For the ear, it is necessary to open the table in the data base. The table is named bez_reg de bez- tse prefix tables, and reg I will name the tables.

Table structure: bez_reg

- - Table structure `bez_reg` - CREATE TABLE IF NOT EXISTS` bez_reg` (`id` int (11) NOT NULL AUTO_INCREMENT,` login` varchar (200) NOT NULL, `pass` varchar (32) NOT NULL , `salt` varchar (32) NOT NULL,` active_hex` varchar (32) NOT NULL, `status` int (1) NOT NULL, PRIMARY KEY (` id`)) ENGINE = MyISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT = 1;

Now the basic scripts for the given robot are installed.

INDEX.PHP File

CONFIG.PHP File

"); ?>

404.html file

Pomilka 404

Pomilka 404

On the side there was a pardon 404

Turn around

BD.PHP File

INDEX.HTML File

Restoration of PHP MySQL files with activation sheet

FUNCT.PHP File

"." \ n "; if (is_array ($ data)) (foreach ($ data as $ val) $ err. ="

  • ". $ val."
  • "." \ n ";) else $ err. ="
  • ". $ data."
  • "." \ n "; $ err. =""." \ n "; return $ err;) / ** Simple chunk for powering up to MySQL * @param string $ sql * / function mysqlQuery ($ sql) ($ res = mysql_query ($ sql); / * Reverting the result showing real power, messages to MySQL, and also a pardon. * / if (! $ res) ($ message = "Incorrect power:".: ". $ sql; die ($ message);) return $ res ;) / ** Simple salt generator * @param string $ sql * / function salt () ($ salt = substr (md5 (uniqid ())), - 8); return $ salt; )

    Let's get started before writing the restoration. We will need a copy of the template for the form of the restoration, so that we can make our own data for processing. It will be necessary for us to write a sample of the form itself, which is to convert the data of the koristuvach into correctness. For that, as the data have been successfully transformed, I will write down from our database of data and send a sheet of corystuvache for the activation of this regional record.

    REG.PHP file

    You were successfully reєstructed! Be a weasel, activate your account !!"; // Zdіysnyuєmo activation of the regional record if (isset ($ _ GET [" key "])) (// Revised key $ sql =" SELECT * FROM `". BEZ_DBPREFIX. "Reg` WHERE` active_hex` = "". Escape_str ($ _GET ["key"]). "" "; $ Res = mysqlQuery ($ sql); if (mysql_num_rows ($ res) == 0) $ err =" The activation key is not valid! " і vivodimo koristuvachevі if (count ($ err)> 0) echo showErrorMessage ($ err); else (// I accept the address of the koristuvach $ row = mysql_fetch_assoc ($ res); $ email = $ row ["login"]; // Active koristuvach account $ sql = "UPDATE` ". BEZ_DBPREFIX." reg` SET `status` = 1 WHERE` login` = "". $ email. "" "; $ res = mysqlQuery ($ sql); $ title =" ( ! LANG :(! LANG: Your account on http: // site of successful assets"; $message = "Поздравляю Вас, Ваш аккаунт на http://сайт успешно активирован"; sendMessageMail($email, BEZ_MAIL_AUTOR, $title, $message); /*Перенаправляем пользователя на нужную нам страницу*/ header("Location:". BEZ_HOST ."less/reg/?mode=reg&active=ok"); exit; } } /*Если нажата кнопка на регистрацию, начинаем проверку*/ if(isset($_POST["submit"])) { //Утюжим пришедшие данные if(empty($_POST["email"])) $err = "Поле Email не может быть пустым!"; else { if(!preg_match("/^!} !} [email protected](+ \.) + (2,6) $ / i ", $ _POST [" email "])) $ err =" E-mail entered incorrectly "." \ N ";) if (empty ($ _ POST [" pass "])) $ err =" The Password field cannot be empty "; if (empty ($ _ POST [" pass2 "])) $ err =" The Password confirmation field cannot be empty "; // Reverting the appearance of pardons and vivodimo koristuvachev if (count ($ err)> 0) echo showErrorMessage ($ err); else (/ * Proceed to revise the entered data. Revise to zbig passwords * / if ($ _ POST ["pass"]! = $ _POST ["pass2"] ) $ err = "Passwords do not match"; // Reverting the appearance of pardons and vivodimo koristuvachev if (count ($ err)> 0) echo showErrorMessage ($ err); / $ sql = "SELECT` login` FROM `". BEZ_DBPREFIX "reg` WHERE` login` = "". escape_str ($ _ POST ["email"]). "" "; $ res = mysqlQuery ($ sql); if (mysql_num_rows ($ res)> 0) $ err =" sorry for Login: ". $ _POST [" email "]." of interest! "; // Revise the appearance of pardons і vivodimo koristuvachevі if (count ($ err)> 0) echo showErrorMessage ($ err); else (// I will accept HESH salt $ salt = salt (); // Salt the password $ pass = md5 (md5 ($ _ POST ["pass"]). $ salt); / * Well, everything is good, we write to the database * / $ sql = "INSERT INTO` ". BEZ_DBPREFIX." reg` VALUES ("", "" . escape_str ($ _ POST ["email"]). "", "". $ pass. "", "". $ salt. "", "". md5 ($ salt). "", 0) "; res = mysqlQuery ($ sql); // Supervised list for activation $ url = BEZ_HOST. "less / reg /? mode = reg & key =". md5 ($ salt); $ title = "(! LANG :(! LANG: http: / / site"; $message = "Для активации Вашего акаунта пройдите по ссылке ". $url .""; sendMessageMail($_POST["email"], BEZ_MAIL_AUTOR, $title, $message); //Сбрасываем параметры header("Location:". BEZ_HOST ."less/reg/?mode=reg&status=ok"); exit; } } } } ?>!}!}

    REG_FORM.HTML File

    Restoration of PHP MySQL files with activation sheet

    Email *:
    Password *:
    Password confirmation *:

    Fields with icon * binding for storage

    Oskilki reєstratsіya koristuvachіv are ready, just an hour to write authorization. Create a form for authorization for koristuvachiv, write a sample of the form of authorization and the rest of the script show.php as if it will be shown to us by authorized persons in the chi ni system.

    AUTH.PHP file

    0) echo showErrorMessage ($ err); else (/ * Storyuєmo energized on a vibration from the database to change the authenticity of the keystore * / $ sql = "SELECT * FROM` ". BEZ_DBPREFIX." reg` WHERE `login` =" ". escape_str ($ _ POST [" email "]) ). "" AND `status` = 1"; $ res = mysqlQuery ($ sql); // Yaksho login sp_vpadaє, reset the password if (mysql_num_rows ($ res)> 0) (// I will deny the data from the tables $ row = mysql_fetch_assoc ($ res); if (md5 (md5 ($ _ POST ["pass"]). $ row ["salt"]) == $ row ["pass"]) ($ _SESSION ["user"] = true; // Skid the parameters header ("Location:". BEZ_HOST. "less / reg /? mode = auth "); exit;) else echo showErrorMessage (" Wrong password! ");) else echo showErrorMessage (" Login ". $ _POST [" email "]." not known! ");))?>

    For the quiet ones who have the last version of PHP PDO since expansion MySQL old and seen from the new version of PHP. Add php mysql pdo to restore and authorize php

    Archived on February 24, 2015.

    Uvaga: Yaksho vikoristyte the script on the local server type DENWER,XAMPP, it is not easy to check the sheets on your post screen. The leaves lie at the plugs sendmail... V Denwer you can know the way Z: \ tmp \! Sendmail \ You can see the file data from any postal customer.

    Monitoring the date of the extension of the domain name - day, as it is impossible to underestimate. I have already written about those, and now I have dealt with one of the most frequent problems - not matching the termination of the domain name reestablishment. Zdavalosya used, all the referees on the year in advance are trying to screw it up (and call me a little bit of development). But the problem is that you don’t read the sheets or read spam. Zagalom, I do not know everything, how the term of the domain name reestablishment will end in them. As a result, the site is not good, people don’t think it’s worth it for an hour, it’s bright, it’s not smart. Timing for an hour, the domain name disappears from the DNS cache, and for a few days (or if you go to earlier, stale some of the new factors), you will stop using the site. Let's wonder, as to monitor the date of the end of the domain name restoration. Surely, a bash script.

    Yak correct the date of restoration of the domain name

    The simplest option is to use the whois global database. They obtain information about the domain name, such as the organization, the specific person, the contacts for the call, the date of re-establishment and the end date of the re-establishment term. I tse yakraz those that we need. Let's take a popular domain for butt. Come on yandex.ru. The axis of information is stored in the whois base for the domain:

    $ whois yandex.ru% By submitting a query to RIPN "s Whois Service% you can submit to the upcoming term of victoriannya:% http://www.ripn.net/about/servpol.html#3.2 (in Ukrainian)% http: //www.ripn.net/about/en/servpol.html#3.2 (in English). domain: YANDEX.RU nserver: ns1.yandex.ru. ns2.yandex.ru 93.158.134.1, 2a02: 6b8: 0: 1 :: 1 state: REGISTERED, DELEGATED, VERIFIED org: YANDEX, LLC. Nic.ru/whois created: 1997.09.23 paid-till: 2017.10.01 free-date: 2017.11.01 source: TCI Last updated on 2017.01.03 05:46:31 MSK

    The field, yak us tsіkavit - "paid-till", tse date, until we have domain payments.

    Monitoring the date of a domain name extension is roughly the same as monitoring a certificate, a little simpler. Otrimumo data about the domain, shukaєmo field, how to avenge the date of the end of the restraction, if you won’t (as far as whois data for the whole domain is not closed), I’ll take the date off, I’ll take the current date on the day of the day. For the bazhannya, you can add a revision of the sheet, which has been redundant, say, less than 30 days before the end of the restoration. Ale is not so simple. Tom, yak minimum, three kinds of records about the end of the term of restoration. The first viglyadє so:

    Paid-till: 2017.10.01

    Another viglyadє like this:

    Registrar Registration Expiration Date: 2020-09-13T21: 00: 00-0700

    I third vigleadє like this:

    Registry Expiry Date: 2018-05-11T04: 00: 00Z

    It seems to us that we need to transfer three options. For if there are quarters, then the first quarters. Leave, let's get rid of the tsimi three.

    Yak viglyad axisє script:

    #! / bin / bash # If the parameter is not specified, it will be prompted to complete the robot if ["$ 1" == ""] then cat<< EOF Script that monitors how many days left until domain registration ends. Usage: $(basename $0) domain.name EOF exit fi # Получаем строку, содержащую дату окончания регистрации PAIDTILL=$(whois $1 | grep "paid-till\|Registrar Registration Expiration Date\|Registry Expiry Date") # Если такая строка не найдена, выходим с ошибкой if [ -z "$PAIDTILL" ] then echo "Registration end date is not available in whois database" exit 1 else # Если дата выглядит как ГГГГ.ММ.ДД, то добавляем 00:00:00 в конец [[ "$PAIDTILL" =~ "paid-till" ]] && PAIDTILL=${PAIDTILL//./-}" 00:00:00" # Удаляем из строки всё до двоеточия, само двоеточие # плюс автоматически будут удалены пробелы PAIDTILL=${PAIDTILL#*:} # Получаем текущую дату CURRENTDATE=$(date "+%Y-%m-%d %H:%M:%S") # Находим разницу между датами, получаем количество оставшихся дней DAYS_LEFT=$((($(date -d "$PAIDTILL" +%s) - $(date -d "$CURRENTDATE" +%s)) / 86400)) # Выводим, сколько дней осталось echo $DAYS_LEFT days left fi

    The axis is the result of a robotic script for new domains at the time of this writing:

    $ ./check-dn-reg.sh linux.org 492 days left $ ./check-dn-reg.sh yahoo.com 2206 days left $ ./check-dn-reg.sh yandex.ru 270 days left $. /check-dn-reg.sh google.com 1349 days left $ ./check-dn-reg.sh ok.ru 331 days left $ ./check-dn-reg.sh vk.com 170 days left $ ./check -dn-reg.sh linux.org 492 days left $. / check-dn-reg.sh linux.org.ru 345 days left

    Wait a minute, watch the eye. Monitoring the date of a domain name upgrade with a 660 byte size script. You can also choose to monitor for additional Nagios or Zabbix.

    Yaksho є additional, respectful, write at the comments.

    Get ready for the project - please, dyakuyu!
    Read also
    International roaming on Tele2 International roaming on Tele2 Yak і de shukati keys for nod32? Yak і de shukati keys for nod32? Automatic buzz and update of keys for ESET NOD32 Automatic buzz and update of keys for ESET NOD32