I need an EC2 instance to balance all incoming FTP connections to a list of FTP servers (EC2 instances too). This list will be changed dynamically due to the load of the FTP servers (launch a new FTP server when the FTP servers are overloaded or shutdown a FTP server when the load is low).
What you recommend? a FTP proxy? DNS server? Load balancer?
Note: The FTP servers must support Passive Mode
Our internal DNS queries go through ActiveDirectory. We are hosting a site that is not in our domain, but internal users need to get the internal IP address for routing.
How do I configure ActiveDirectory to return A records for a few arbitrary domain names, not just those in our own domain?
I have an existing site that I would like to add a staging subdomain to. I created a new web site for it in IIS, added a host header for subdomain.mysite.com but when I try to get to the subdomain it is not found.
Do I need to create an A Record in my DNS to point subdomain.mysite.com to the server's IP or will the existing entry for mysite.com work? If not, can anyone see what I am doing wrong here?
My website takes awfully long time after entering the domain name and before the content starts showing up.
I assume this is something to do with the dns resolution or the networks.
How do I go about troubleshooting this problem? Where do I start and what tools do I need? I know I’ll need nslookup and traceroute. What else will I need?
There's a rumour that public domain name resolvers, like Google Public DNS, are still supposed to work with GeoDNS, because there's some field in the requests that lets them specify for which IP address they are doing a resolution, thus the authoritative servers can give a given resolver different resolutions for different final clients.
What's this whole thing called as far as RFCs go, and how does one mimic such resolutions, for testing purposes, e.g. with dig(1)? Else, what other tool is available to accomplish said task?
Apache 2.2
CentOS
Plesk 9.x
I am using Plesk to manage my domain names on my virtual host.and GoDaddy for DNS
I have created a new sub-domain blog.
I can see the httpd.include for example has a new virtualhost entry for blog.example.com
I can also see folders have been created for the subdomain blog vhost\example.com folder
But when I try to go to blog.example.com - I get an error - basically the host is not getting resolved
My site - example.com is working fine otherwise
Any idea what could I be missing ?
I did try restarting the apache web server as well
Today, I am suddenly getting the untrusted website error for all Google websites, but not for any other. Internet Explorer gives no such error. Reboot of this Windows 7 computer does not help.
Is this some kind of virus infection that is hijacking DNS resolution away from Google to some spoofer?
How can I resolve this issue and get Google websites working again normally?
If I manually enter a Google IP Address, the page loads correctly.
My main domain is example.com, but also bought example.org and example.net. I've configured my webservers at *.example.com to handle requests from the other domains and redirect them correctly to example.com, but I'd rather not re-configure all my DNS records at example.org and example.net to be the same as example.com.
Other than writing some ugly synchronization script, what should I do to have route53 answer queries against my "other" domains with the same data from the "main" domain?
A newbie question regarding dns records
Let's say I've configured,
abc.example.com - A 10.x.x.x
and a CNAME for xyz.example.com
CNAME for xyz.example.com - abc.example.com
when a user does an http request for xyz.example.com what happens when the request reach the 10.x.x.x server. Will the URL be abc.example.com or xyz.example.com? (trying to find out if virtual host in apache need to be updated)
Thanks much
Since my server is under a sustain DNS amplification attack (DDOS),
I configured fail2ban and initially my outgoing traffic dropped markedly.
Anyway, after a few hours (mostly +10), fail2ban uses about 75% ram and seems to be crashed in some way, because the outgoing traffic raises imediatly after. When I searched the web for the memory problem, I found some people complaining about high fail2ban memory usages as well. But the recommended solution, to insert an ulimit command into a fail2ban config file, did not change that much for me.
Can I configure my domain, example.com's name servers as:
ns1.dyndns.com
ns2.dyndns.com
ns1.opendns.com
ns2.opendns.com
That is, combining free dns services to create a redundant name server array? Note these name servers from different companies are not aware other companies' name servers also serve our domain.
In case one company, say, ns1(2).dyndns.com is down, will people experience interruption when visiting my example.com? If one name server is unreachable, the next name server will be tried, or?
I have a self hosted server with Apache2 pointed with the domain example.com. I have also some virtual servers www.example.com, cloud.examle.com, etc.
This server is in my LAN, and when I try to acces to my server within the lan throw www.examle.com y get my router's configuration page. From outside the LAN www.example.com and cloud.examle.com works properly. From inside the LAN 192.168.1.33 (server internal IP) shows the default webpage (www.examle.com), but I can not get cloud.examle.com
I also have a LAN name server in 192.168.1.33 with bind9.
I set up my gateway 192.168.1.1 with my LAN-NS as primary NS
I solve this problem creating a new dns zone in the NS.
This are my config files:
;ZONE-1
$ORIGIN .
$TTL 86400 ; 1 day
home.lan. IN SOA server.home.lan. hostmaster.home.lan. (
2008080901 ; serial
8H ; refresh
4H ; retry
4W ; expire
1D ; minimum
)
home.lan. IN NS server.home.lan.
$ORIGIN home.lan.
; Set the address for localhost.home.lan
localhost IN A 127.0.0.1
router IN A 192.168.1.1
server IN A 192.168.1.33
mypc IN A 192.168.1.132
;ZONE-2
$ORIGIN .
$TTL 86400 ; 1 day
example.com. IN SOA www.example.com hostmaster.home.lan. (
2008080902 ; serial
8H ; refresh
4H ; retry
4W ; expire
1D ; minimum
)
example.com. IN NS 192.168.1.33
$ORIGIN examle.com.
localhost IN A 127.0.0.1
www IN A 192.168.1.33
cloud IN A 192.168.1.33
My DNS and my names are working properly now
My question are:
What do you think about my solution?
Can I change the A zone with CNAME to server.home.lan (this is the domain in the LAN to the server)?
How can I set a default IP for all my whatever.example.com?
I host my site at domain.com.
My DNS entries in Route53 are as follows:
domain.com A xxx.xxx.xxx.xxx 300
domain.com NS stuff.awsdns-47.org 172800
domain.com SOA stuff.awsdns-47.org 900
I would like to redirect traffic from www.domain.com to domain.com, as currently this just returns a 404. This question on SO suggested a PTR record, and I added that:
www.domain.com PTR domain.com 300
but it didn't work. What should I be doing?
Hello,
I have to manage two domains :
compagny.com
copagny.bigcompagny.com
I use Bind9 on Debian Lenny.
I want to use one Zone file for both domains.
If I ask for server.compagny.com, it will give me address 10.0.0.1
If I ask for server.compagny.bigcompagny.com, it will give me the same address 10.0.0.1
I don't want to create twice the same files for my DNS Server : Too hard to maintain.
How can I do that ?
Thx
I am running Exchange 2013 on Windows Server 2012 R2.
When I add my exchange account to Outlook, it seems to work perfectly (sending/receiving email, syncing everything), but when I open the account settings it has the following set as the Server:
[email protected]
I would have expects this to be: mail.domain.com since this is the DNS A record pointing to the IP of my server. Where is it getting this server name?
Hi,
I am wanting to setup a internal development server (LAMP), I need the web team to be able to access different developments sites ie:
example1.local
example2.local
example3.local etc
from within the network.
I believe it would be something to do with DNS?
Any help would be appriciated.
Kyle
I'm in the process of migrating to a new server, but some traffic that should be going to old server is now coming to the new server before I am ready to migrate. My provider used an IP used as the secondary nameserver on the old server as the primary IP on the new server, so now my secondary nameserver is directing traffic to the new server.
Is there a way to forward the traffic hitting the new IP back to the old IP while I wait for DNS to propagate?
Server is Linux CENTOS 6.5 x86_64 w/ cPanel
Thanks
What happens if you have 2 DNS entries:
Name | Type | Value
-------------+-------+--------------
example.com | A | 20.20.20.20
example.com | MX | mail.example.com
Does this mean that smtp requests to example.com will map to 20.20.20.20, and somehow request in the headers mail.example.com? What?
Please no spamming or aiming for cheap money.
The registrar needs to have a good ui, work with no downtime, be easy and flexible to use, support easy changing/adding of CNAME fields, MX records, and work well with outside host DNS.
Why pdnsd responds slowly/fails many requests to it even if it has found working upstream server?
I want pdnsd to just use the DNS server {it has probed,that is proven} to work and search for other configured variants only if that chosen server fails.
/* Most time only about 1-2 of configured servers does work, each time different ones. */
i had setup bind dns server on centos. from local lan it will work fine but from remote when i tried to nslookup ..it will give reply like "DNS request timed out...timeout was 2 seconds."
what is the problem?
this is my bind config----
// Red Hat BIND Configuration Tool
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
query-source address * port 53;
};
controls {
inet 127.0.0.1 allow {localhost; } keys {rndckey; };
};
acl internals {
127.0.0.0/8;
192.168.0.0/24;
10.0.0.0/8;
};
view "internal" {
match-clients { internals; };
recursion yes;
zone "mydomain.com" {
type master;
file "mydomain.com.zone";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "0.168.192.in-addr.arpa.zone";
};
zone "." IN {
type hint;
file "named.root";
};
zone "localdomain." IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost." IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa." IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa." I
N {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa." IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa." IN {
type master;
file "named.zero";
allow-update { none; };
};
};
view "external" {
match-clients { any; };
recursion no;
zone "mydomain.com" {
type master;
file "mydomain.com.zone";
// file "/var/named/chroot/var/named/mydomain.com.zone";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "0.168.192.in-addr.arpa.zone";
};
};
include "/etc/rndc.key";
I have somehow managed to write an iso 9660 image onto my USB drive, which makes all my computer think that the device is actually a CD. I have tried various methods of removing this partition, but nothing seems to work. I have tried fdisk, which says $ fdisk -l /dev/sdb
Cannot open /dev/sdb
parted crashes when I try to use it on this device.
I have even tried $ dd if=/dev/zero of=/dev/sdb but it just hangs with no output (either on screen or on disk). However, when I plug the USB in, it does mount, and I can view (but not edit) the files on it.
edit: now the result is $ dd if=/dev/zero of=/dev/sdb
dd: opening `/dev/sdb': Read-only file system
I have also tried re-formatting it on Windows, but it gets to the end of the format process and then says "Couldn't format the drive".
How can I remove this partition and get my whole USB drive back to normal again?
EDIT 1: Trying a simple mkfs doesn't work: $ sudo mkfs -t vfat /dev/sdb
mkfs.vfat 3.0.0 (28 Sep 2008)
mkfs.vfat: Will not try to make filesystem on full-disk device '/dev/sdb' (use -I if wanted)
I can't do mkfs on /dev/sdb1 because there is no such partition, as shown:$ ls /dev | grep sdb
sdb
EDIT 2: This is the information posted by dmesg when I plug the device in:$ dmesg
.
. (snip)
.
usb 2-1: New USB device found, idVendor=058f, idProduct=6387
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: Mass Storage
usb 2-1: Manufacturer: Generic
usb 2-1: SerialNumber: G0905000000000010885
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 6:0:0:0: Direct-Access FLASH Drive AU_USB20 8.07 PQ: 0 ANSI: 2
sd 6:0:0:0: [sdb] 4069376 512-byte hardware sectors (2084 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] 4069376 512-byte hardware sectors (2084 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sdb: unknown partition table
sd 6:0:0:0: [sdb] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg2 type 0
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
SELinux: initialized (dev sdb, type iso9660), uses genfs_contexts
CE: hpet increasing min_delta_ns to 15000 nsec
This shows that the device is formatted as ISO 9660 and that it is /dev/sdb.
EDIT 3: This is the message that I find at the bottom of dmesg after running cfdisk and writing a new partition table to the disk:SELinux: initialized (dev sdb, type iso9660), uses genfs_contexts
sd 17:0:0:0: [sdb] Device not ready: Sense Key : Not Ready [current]
sd 17:0:0:0: [sdb] Device not ready: < ASC=0xff ASCQ=0xffASC=0xff < ASCQ=0xff
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
lost page write due to I/O error on sdb
I have a Seagate FreeAgent Go external USB hard drive that was mounted but mysteriously decided to reconnect itself:
Sep 30 15:07:06 feinman kernel: [243901.551604] usb 1-1.2: USB disconnect, device number 3
Sep 30 15:07:06 feinman kernel: [243901.553828] sd 6:0:0:0: [sdb] Synchronizing SCSI cache
Sep 30 15:07:06 feinman kernel: [243901.553893] sd 6:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Sep 30 15:07:10 feinman kernel: [243905.336557] usb 1-1.2: new high-speed USB device number 4 using ehci_hcd
Sep 30 15:07:10 feinman kernel: [243905.431219] scsi7 : usb-storage 1-1.2:1.0
Sep 30 15:07:11 feinman kernel: [243906.427207] scsi 7:0:0:0: Direct-Access Seagate FreeAgent Go 0148 PQ: 0 ANSI: 4
Sep 30 15:07:11 feinman kernel: [243906.428303] sd 7:0:0:0: Attached scsi generic sg1 type 0
Sep 30 15:07:11 feinman kernel: [243906.430317] sd 7:0:0:0: [sdc] 625142447 512-byte logical blocks: (320 GB/298 GiB)
Sep 30 15:07:11 feinman kernel: [243906.430860] sd 7:0:0:0: [sdc] Write Protect is off
Sep 30 15:07:11 feinman kernel: [243906.430865] sd 7:0:0:0: [sdc] Mode Sense: 1c 00 00 00
Sep 30 15:07:11 feinman kernel: [243906.431386] sd 7:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 30 15:07:11 feinman kernel: [243906.493674] sdc: sdc1
Sep 30 15:07:11 feinman kernel: [243906.496109] sd 7:0:0:0: [sdc] Attached SCSI disk
It changed from sdb to sdc, causing a number of problems for me. What can I do to further track down the cause?
I thought it might be a problem with it sleeping but when I cat /sys/class/scsi_disk/6\:0\:0\:0/allow_restart, I see that it's already 1.