Käynnissä

PDNS Modification

Hello,

The below project is for a feature we need implemented in PDNS.

This modification will only use the "domains" table, and a new table "allowhosts." Also, this should work with PTR or Regular Domains. Below I have given an example for a request:

Let's say we received an rDNS or Domain request from IP 89.93.8.9 for rDNS record 2.2.2.2 hosted on pdns , here are the steps:

pdns checks domain table to see if record for [url removed, login to view] "filter" fied is set to "true" or "false"

Below is a coding example if the filter is set to true.

if ([url removed, login to view] = true) {

// Select all IPs from the allowhost table

$sql = "SELECT `IP` FROM allowhost WHERE domainID = $domainID"

if (89.93.8.9 is in the array of returned IPs)

return [url removed, login to view]

else

return "No record found"

}

Note the "no record found" should be whatever the default message is when no record exist. Below I have listed the fields for [url removed, login to view]:

[url removed, login to view] table fields

id: This column type is int, autoincrement and services as the and is the record ID

domainID: this is the domain IP that links this record with the domain in the domains table

IP: This column type varchar and holds the allowed IP address

Taidot: Linux, Perl, PHP, SQL

Näytä lisää: ptr record, Modification, int, php table array, domains ips, table perl, perl table, php filter column, php sql filter, record checks, table filter, coding sql, php modification project, steps php project, coding type, domain perl, ptr, perl sql, rdns perl, project modification, rdns, php project steps, sql php coding, record message, record exist php

Tietoa työnantajasta:
( 0 arvostelua ) Los Angeles, United States

Projektin tunnus: #499811

5 freelancers are bidding on average $524 for this job

A2Design

We'd like to help you with this. Check our skills at: [url removed, login to view]

720 $ USD 18 päivässä
(42 arvostelua)
7.9
CoVaLiDiTy

can help you. tnx.

300 $ USD 5 päivässä
(341 arvostelua)
7.1
nknk

Hi. That's my specialty. Please check PM.

400 $ USD 5 päivässä
(180 arvostelua)
7.0
itamarjp

I am a fedora/centos linux developer and I am able to do this for you.

500 $ USD 0 päivässä
(76 arvostelua)
5.6
daredevil666

We can do your job with a high quality and looks. I own my own company webcore solution and I have many good developers along with me. I am ready to get this project from you .. Please check the PMB for the details

300 $ USD 5 päivässä
(4 arvostelua)
1.6
christina3bpit

Hi, Black pearl infotech is interested in working with you.

700 $ USD 1 päivässä
(0 arvostelua)
0.0