PDNS Modification


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 for rDNS record 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 ( is in the array of returned IPs)

return [url removed, login to view]


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 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


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)

can help you. tnx.

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

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

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

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

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

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)

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

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