Server :: Odd Bind Behavior With Wildcards?

Apr 18, 2011

I've got an interesting problem when it comes to wildcard entries in bind. If I put the following in:

qa.express IN A 172.16.0.10
* IN A 172.17.1.156

If I then look up "express.example.com" it doesn't return an answer - it *should* return 172.17.1.156, but it won't unless I put that hostname in specifically. qa.express.example.com resolves as expected.

View 3 Replies


ADVERTISEMENT

Server :: What Is Bind Vs Bind-chroot Vs Caching-nameserver?

Jul 8, 2011

what is bind vs bind-chroot vs caching-nameserver ?what is the different between eatch others ?

View 7 Replies View Related

Ubuntu Servers :: Sudden Change In Server Behavior

Jul 4, 2011

I have been running two Ubuntu 10.10 servers for some time now. My main server is 10.111.1.65 and backup server is 10.111.66. The main server is to host my website and ssh remote access (Key auth). The backup server pulls via ssh key auth what is in my /var/www (among other folders) to the backup home dir (encrypted). For some reason today I checked the uptime and it was 7 hours on both servers. All my other computers on the same power supply have a uptime of over a month. For some reason I now cant access backup via ssh from main's key (I could before) and I can not get to the home dir, see below:

Code:
carlos@UbuntuSvrDell2400:~$ sh "Access-Your-Private-Data.desktop"
Access-Your-Private-Data.desktop: 1: [Desktop: not found

[code]...

View 3 Replies View Related

Server :: Inconstant Behavior On SUSE Using & Background Command

Dec 17, 2010

Have a bit of a dilemma I'm trying to track down. Have a user using both date and ps commands with & at the end of the line in a shell script. When he runs the script, it waits until he hits ENTER to get back to a prompt. Other times he doesn't. Also, I've noticed that this will sometimes happen, then immediately rerun the script and the behavior stops.

View 1 Replies View Related

Debian Configuration :: Dhcpd Server Behavior Seems To Have Changed In Squeeze?

Aug 9, 2011

I've been using dhcpd for address assignments to PCs for a very long time with no issues. I recently upgraded from lenny to squeeze and now dhcpd seems to have new behavior which I can't seem to change. Here's what I want to do. First, I have a simple situation and don't want to get involved with dynamic DNS updates. I have host statements for each of my PCs and a range statement for cases where I install a new device and don't yet have a host statement for it. Previously, I could discover the ethernet address for the new device from the dhcpd log and add a host statement with an address of my choosing for the new device.

I'd then restart dhcpd and do something like reboot the device or issue an ipconfig /renew statement on the new PC. What would happen is that the old dynamically assigned IP address would be NAKed and the device would do a DHCPDISCOVER, etc. and get the new IP address I specified in the dhcpd.conf host statement. In squeeze, this no longer works. The client asks for the old address it got dynamically and the server just says yes. I can't seem to find a way to get it to NAK the dynamic address and use the new address I've specified in the host statement. I'd appreciate any enlightenment on how this is now supposed to be done. Here's my simplified dhcpd.conf file:

authoritative;
log-facility daemon;
ddns-update-style none;

[code]....

Note that the address here was assigned based on a previous range statement and isn't consistent with the above config file.

View 2 Replies View Related

Ubuntu Networking :: Different DHCP Behavior In Server Versus Desktop

Jan 20, 2010

I've noticed something strange in the behavior of how Ubuntu server obtains it's IP address versus Ubuntu desktop and other versions of linux and Windows. When Ubuntu desktop obtains an IP address from my router that address is retained from one bootup to the next, same behavior as Windows, SuSE, and pretty much any other OS. Ubuntu server on the other hand grabs a different IP address everytime it boots. At first I guessed it was a difference in /etc/dhcp3/dhclient.conf so I replaced it with the dhclient.conf from Ubuntu desktop but no dice, it still grabs a new address every time.

In /etc/network/interfaces Ubuntu server defines the loopback interface and primary network interface, just as it should but Ubuntu desktop does not define the network interface, only the loopback interface. I'm guessing something else controls does this. Desktop appears to be storing previous IP lease information in /var/lib/dhcp3/dhclient.eth0.leases but server doesn't, /var/lib/dhcp3/dhclient.leases is always empty and there's no other files in /var/lib/dhcp3/.

Apparently something isn't writing old lease info there. Without setting a static IP address, how can Ubuntu server be configured to retain the same IP address between boots like Ubuntu desktop?I'm using Ubuntu server 8.04LTS, Ubuntu desktop 9.10 & 9.04, SuSE 11.0, Linux Mint, Windows XP, pfSense 1.2.2 as router.

View 9 Replies View Related

Ubuntu :: Using Wildcards In Nautilus?

Aug 21, 2010

I'm try the use wildcards for file searches in Nautilus (ctrl+s) but using sets and character classes doesn't return any results. For example

[[:upper:]]*
[![:digit]]*
*[[:alpha:]]
[crm]*

Is this kind of notation supported in Ubuntu or do I have something wrong in my syntax.

View 1 Replies View Related

General :: Using Grep With Wildcards?

Jul 3, 2010

I searched and I found a few threads on this but none answered my question really.I'm using:

Code:
curl www.foo.com | grep '<h2>.*.</h2>'
Basically I want to extract all instances of
Code:
<h2>Blah blah blah</h2>

from the page source, but it's not giving me that, it gives me <h2>.. followed by a loads of other stuff that I don't want. I haven't used wildcards with grep before so I don't really know whether I'm doing it right or not.

View 5 Replies View Related

Ubuntu Servers :: Home Web Server - Cant Set Up Apache As Named Server Using Bind DSN

Dec 7, 2010

I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.

[code]...

View 6 Replies View Related

Networking :: Creating Domain Name In Bind Exposing Bind To Internal Network

Sep 3, 2009

I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.

View 1 Replies View Related

General :: Output A String By Using Wildcards ?

Feb 21, 2010

I'm trying to make a shell script, and for part of it I need to search through a file, find the ip in the file, and save ONLY the ip to another file. ( not the entire line that its on ) I understand grep has wildcards, where I could do something like, "grep (...........) traceroute-output for an ip address.

View 3 Replies View Related

Server :: BIND Server Test Not Answering Authoritatively?

Jun 14, 2010

I have a BIND server that I'm setting up with different views. There is another server out on the public Internet that currently handles all inquiries for this domain. I had installed the Yum packages, chroot, etc. and edited the config files by hand. When that didn't work, I erased the server and started over using Webmin to build everything for me. Same result. I want to setup and verify everything is working on this new server before I take it into production.This is in /var/log/messagesQuote:

Jun 13 21:33:20 dns1 named[13838]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 -u named
Jun 13 21:33:20 dns1 named[13838]: adjusted limit on open files from 1024 to 1048576

[code]...

View 13 Replies View Related

Server :: Configure Address Of Next Level DNS In BIND Server?

Sep 24, 2009

I need to know how to configure the address of the next level DNS server in my BIND server. im in a FEDORA 10 system.

View 3 Replies View Related

Server :: Bind Windows Xp Machine To Domain Server?

Jan 17, 2010

I want to join standalone windows xp machine to Linux Domain (Redhat 9)..

View 3 Replies View Related

Ubuntu :: Vim Find/replace Command Using Wildcards?

Aug 1, 2010

I'm struggling with the Vim find/replace command using wildcards.

I have several, big html files with lots of instances of: <p stuffiwanttoremove>

I've been trying the Vim command: %s/<p *>/<p>/ge

but it doesn't seem to work.

Does anybody know what I'm doing wrong?

I realise there may be alternatives to this (eg a bash script)

View 2 Replies View Related

Ubuntu :: Wildcards In Keyboard Shortcut Commands

Feb 7, 2011

I want to make a keyboard shortcut that runs the following command:

Code:
smplayer /tmp/Flash*
This is to play things as ..... videos etc. in smplayer using vdpau instead of the laggy flashplayer

The wildcard * works in terminals, but not in the command of the shortcut or in the Alt-F2 launcher... Could anyone point me to what I could write instead?

View 1 Replies View Related

General :: Batch Renaming Based On Wildcards?

Jul 20, 2010

Is there a way to do a batch renames of files that will keep each individual filename, but change it in the way I want?

The specific issue is this. I have a harddrive with something like 1300 movies on it. They're all organized alphabetically, but there are like 200 movies that begin with 'The'. I want to rename all of these movies that begin with The so that the The at the beginning is dropped and added at the end (for example, turn "The Shawshank Redemption" into "Shawshank Redemption, The"). I'd like to do this with a simple command if its possible.

View 2 Replies View Related

Fedora :: Finding Files With Wildcards In The Actual Filename?

Sep 5, 2010

I am trying to clean up a collection of music files, often in windows i receive errors on the collection because some of the files have a "?" question mark in the file name, in windows this is not a valid character for file names. How can i search/find files with a question mark in the name? Each time i try to search for "?" i receive a list of items that match a wildcard search where ? is a wildcard. I want to find file names that actually contain the character "?".

View 2 Replies View Related

Ubuntu :: Gedit Wildcards In Find / Replace Feature

Feb 27, 2010

I am cleaning up some text files to put on a website and am using the find/replace feature of Gedit extensively. The only problem I am having is that I can't find a way to use wildcards. For instance, I want to use the "?" and "*" in the same or similar way you do in bash. I already know that:

Represents a carriage return, and that is great, but I want to do something like: "?." to replace "A.", "B.", "1.", "2." with just plain spaces. The document in question is written in narrative, but has a bunch of outline markers in it, and I want to remove the outline markers.

I tried "escaping" the characters in a similar way as by using "?.", but that didn't work. Google was not very fruitful, and the Gedit help seems to be Gnome help and includes all kinds of useless info (for my problem) about wildcards in other programs.

View 2 Replies View Related

Server :: Bind ** Server Can't Find Example.com: NXDOMAIN?

Jun 26, 2011

I'm trying to setup DNS server. But i'm getting this strange problem.normally nslookup and workin for other sites.problem only with my local setup. can't see what i'm doing wrong.i've had setted up DNS server before but had no problems.can't see any solution on google.

So...
centos 5.6
bind 9.7 (from repository)

[code]...

View 2 Replies View Related

Server :: BIND Server No Longer Working

Jun 8, 2011

I am still quite new to all this but I guess we were all beginners once, this forum seems very helpful.Here is my situation, I will give as much detail as I can.I have a dedicated server which is running CentOS release 5.5.Initially I had Plesk installed, but when I upgraded PHP I damaged the Plesk configuration, and so I installed Webmin instead.

All seems to be fine with this, apart from the DNS configuration / BIND server.I know this because I have one site which uses an external DNS server and this works fine (i.e I can access it from a browser). All the others don't resolve - i.e the ones I set up in Plesk.I've done a bit of investigating to see what is going on, but I'm stabbing in the dark a little.

View 12 Replies View Related

Server :: CentOS BIND Local DNS Server

Nov 28, 2010

I've been looking for a good tutorial for setting up a BIND DNS server for my local network. What I want to do is..Have BIND running on my home server receiving all DNS requests.Have certain zones (my.zone.lan) pointing to custom IP addresses (I.E. server.lan points to 192.168.{server IP})Zones that don't exist should be passed on to OpenDNS for processing.

View 6 Replies View Related

Server :: Client Computer Not Dig Bind Server?

Jul 28, 2010

I have configureed Bind in a Linux box. Well pc1 i.e "pc1.mydomain.com" is my client machine and main server is the computer in which bind is install.The client computer pc1 and the main server (Bind server) i.e FQDN "mainserver.mydomain.com "are on the same network.from client machine i can't resolve the name to IP address as my server do successfully with client. The /etc/resolv.conf file in my bind server is as

Code:
search mydomain.com
nameserver 192.168.1.254
The named.config it main configuration is as below
Code:
zone "mydomain.com" IN {

[Code]...

View 6 Replies View Related

Server :: How To Install Bind Server On RedHat 5

Apr 26, 2010

How to install step by step to install bind server on RHEL 5.

View 3 Replies View Related

Programming :: Bash - How To Expand Path Variable That Contains Spaces And Wildcards

Feb 15, 2010

having bit of a trouble with path expansion of strings that contain some whitespace and wildcards First my script sources a configuration file that contains array assignments

Code:

...
BACKUP_TARGET_FILES[2]=/boot/config-* # no problems
BACKUP_TARGET_FILES[3]="/root/random dir with space/file*" # this is the problem
...

then later in the script I want to expand BACKUP_TARGET_FILES elements as below

Code:

IFS_DEFAULT="$IFS"
shopt -s nullglob
shopt -s dotglob
IFS=

[code]....

this code seems to work but I'm not quite satisfied with it. I'd like to get rid those IFS changes, but haven't found out a solution as of yet. Problem with default IFS seems to be that with it neither $pattern or "$pattern" work; it either interprets pattern as multiple words (because of spaces) and so expands to wrong paths or it ignores * because it's within quotes.

View 11 Replies View Related

Fedora :: Make A Dns Server Using Bind 9.5.1 In 10?

Jan 8, 2010

I want to make a dns server using bind 9.5.1 in fedora 10 but i 've got this following error when nslookup.

Quote:

nslookup admindevice1.fmipa
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find admindevice1.fmipa.dns.fmipa: SERVFAIL

this is my named.conf

Quote:

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS

[code].....

but when i start bind and try my dns i got a wrong ip for both ns and admindevice1.

View 2 Replies View Related

General :: Use Of Bind & Cache Pkg In DNS Server?

May 11, 2010

what is the use of bind & cache Pkg in DNS server is it posssible to configure DNS without cache & how

View 2 Replies View Related

Server :: Hostname Configuration On BIND

Jan 2, 2010

I have read a lot of documentation but it is still hard to find a proper answer to my doubts.About the hostnames in a domain, how is it associate to a determinated port?

For example, when I type on the browser webmail.sparc86.net and then I get redirected to the port of 20000 of this same domain. Fine, but how does it work that it knows it should be redirected to the port 20000? From where is this information (the association webmail-port 20000) taken? The apache will manage this, right? But what about other services like ftp?Another example, If I wrote my own software listening, let's say on the port 40000 and I want to have a domain like "mystuff.sparc86.net" how would I let it be redirected to the port 40000 ?

View 1 Replies View Related

Server :: Best Script For Managing Bind?

Feb 22, 2011

Currently i using webmin,but it missing some important things like $variable -where $variable would be automatically replaced with added domain,and it's kind a strange since plugin for managing other dns server on webmin does that. Also i was not able to generate 100% correct all records,only partial,which make it useless since i was need to fully replace it anyway.So can someone recommend any script/tools for it?I would be even happy with combination of batch tools(which might be even best solution since then i would not need to bother with installing script). How my dns records look:

PHP Code:
$ttl 38400
@    IN    SOA    ns1.nameserver.com. root.localhost. (
12520521667
7200
7200
604800

[Code]...

View 1 Replies View Related

Server :: Bind Not Working In Centos?

Jul 29, 2011

i am trying to run bind in centos 6 and bind keeps giving me errors every time i check all of the configurations. the named.conf file works fine but the zone files keep giving me errors heres the contents of my named.conf file

Code:
options {
directory "/var/named";
listen-on port 53 { any; };
allow-query { any; };

[Code]....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved